send ping periodically over ping channel

This commit is contained in:
ShadowLp174 committed 2026-05-18 10:39:13 +00:00
1 parent f6bc1db447
commit f513da88ab
1 file changed
+3
+3
View File
@@ -97,6 +97,9 @@ export class RedisHandler {
logger.warn("[Redis/Subscriber] Info handler error:", e.message);
}
});
setInterval(() => {
this.send(this.platform + ":ping", "" + Date.now());
}, 10000);
} catch (e) {
logger.error("[Redis/Subscriber] Initial connection failed:", e.message);
}