Skip to content

Commit def6de6

Browse files
authored
Disable auto pipelining in ioredis (#1241)
* fix(redis): increase slotsRefresh{timeout|interval} and add refreshSlotsCache * chore(redis): disable auto pipelining
1 parent 4a97294 commit def6de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sdk-socket-server-next/src/analytics-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const getRedisClient = () => {
115115
showFriendlyErrorStack: true,
116116
slotsRefreshInterval: 2000,
117117
clusterRetryStrategy: (times) => Math.min(times * 30, 1000),
118-
enableAutoPipelining: true,
118+
enableAutoPipelining: false, // Disable auto pipelining to avoid MOVED errors for now (should re-enable when we have a better solution)
119119
redisOptions,
120120
};
121121

0 commit comments

Comments
 (0)