fix: more economical use of redis clients

This commit is contained in:
Sebastian Rindom committed 2020-09-01 11:02:39 +02:00
1 parent 64500f7c2f
commit b85417a9b7
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ class EventBusService {
case "subscriber": case "subscriber":
return subscriber return subscriber
default: default:
throw new Error("Unknown type: ", type) return new Redis(config.redisURI)
} }
}, },
} }