mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-07 03:57:06 +03:00
Use broadcast mode for redis
This commit is contained in:
@@ -386,7 +386,7 @@ async function setupCacheClientTracking(client: RedisClientType,
|
|||||||
|
|
||||||
if (!client || !cacheClient.isReady) return;
|
if (!client || !cacheClient.isReady) return;
|
||||||
|
|
||||||
await client.sendCommand(["CLIENT", "TRACKING", "ON", "REDIRECT", cacheConnectionClientId]);
|
await client.sendCommand(["CLIENT", "TRACKING", "ON", "REDIRECT", cacheConnectionClientId, "BCAST"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default exportClient;
|
export default exportClient;
|
||||||
|
|||||||
Reference in New Issue
Block a user