소스 검색

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`);
         });
     }