Parcourir la source

fix: station skipping was still broken due to Redis package upgrade

Kristian Vos il y a 2 ans
Parent
commit
d9e7721ce8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      backend/logic/notifications.js

+ 1 - 1
backend/logic/notifications.js

@@ -107,7 +107,7 @@ class _NotificationsModule extends CoreClass {
 				else if (this.getStatus() === "LOCKDOWN" || this.getStatus() === "RECONNECTING")
 					this.setStatus("READY");
 
-				this.sub.PSUBSCRIBE(`__keyevent@${this.sub.options.db}__:expired`, (message, channel) => {
+				this.sub.PSUBSCRIBE(`__keyevent@${this.sub.options.database}__:expired`, (message, channel) => {
 					this.log("STATION_ISSUE", `PMESSAGE1 - Channel: ${channel}; ExpiredKey: ${message}`);
 
 					this.subscriptions.forEach(sub => {