We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a2f76e commit 8d8bf7fCopy full SHA for 8d8bf7f
packages/sdk-socket-server-next/src/analytics-api.ts
@@ -76,7 +76,7 @@ export const getRedisOptions = (
76
retryStrategy: (times) => Math.min(times * 30, 1000),
77
reconnectOnError: (error) => {
78
// eslint-disable-next-line require-unicode-regexp
79
- const targetErrors = [/READONLY/, /ETIMEDOUT/];
+ const targetErrors = [/MOVED/, /READONLY/, /ETIMEDOUT/];
80
return targetErrors.some((targetError) =>
81
targetError.test(error.message),
82
);
0 commit comments