If redis fails to connect use a mock client to not crash

This commit is contained in:
2022-08-17 00:19:22 +02:00
parent 014cac8b06
commit c8477fabaa
5 changed files with 72 additions and 50 deletions

View File

@@ -2,6 +2,10 @@
"database": {
"host": "../shows.db"
},
"redis": {
"host": "localhost",
"port": 6379
},
"webserver": {
"port": 31459,
"origins": []