Use broadcast mode for redis

This commit is contained in:
Ajay
2024-02-09 15:34:36 -05:00
parent 17b002649e
commit 02a640d857

View File

@@ -386,7 +386,7 @@ async function setupCacheClientTracking(client: RedisClientType,
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;