瀏覽代碼

Allow using a different Redis database

Kristian Vos 4 年之前
父節點
當前提交
86d909b119
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/logic/notifications.js

+ 1 - 1
backend/logic/notifications.js

@@ -138,7 +138,7 @@ class NotificationsModule extends CoreClass {
                 });
             });
 
-            this.sub.psubscribe("__keyevent@0__:expired");
+            this.sub.psubscribe(`__keyevent@${this.pub.options.db}__:expired`);
         });
     }