fix: more economical use of redis clients

This commit is contained in:
Sebastian Rindom
2020-09-01 11:02:39 +02:00
parent 64500f7c2f
commit b85417a9b7

View File

@@ -32,7 +32,7 @@ class EventBusService {
case "subscriber":
return subscriber
default:
throw new Error("Unknown type: ", type)
return new Redis(config.redisURI)
}
},
}