This commit is contained in:
syuilo
2019-02-07 21:02:33 +09:00
parent 27768081e2
commit 5448c22031
19 changed files with 125 additions and 194 deletions

View File

@@ -23,10 +23,10 @@ module.exports = (server: http.Server) => {
let ev: EventEmitter;
if (config.redis.isJust()) {
if (config.redis) {
// Connect to Redis
const subscriber = redis.createClient(
config.redis.get().port, config.redis.get().host);
config.redis.port, config.redis.host);
subscriber.subscribe('misskey');