mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-03 08:00:32 +00:00
shrink redis failure (#2831)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
This commit is contained in:
@@ -4,7 +4,7 @@ import MockRedis from 'ioredis-mock';
|
|||||||
const redisStartupRetryMaxDelayMs = 2000;
|
const redisStartupRetryMaxDelayMs = 2000;
|
||||||
const redisSlotsRefreshTimeoutMs = 5000;
|
const redisSlotsRefreshTimeoutMs = 5000;
|
||||||
const redisConnectTimeoutMs = 10000;
|
const redisConnectTimeoutMs = 10000;
|
||||||
const redisMaxRetriesPerRequest = 2;
|
const redisMaxRetriesPerRequest = 1;
|
||||||
const redisBootRetryRegex = /Cluster(All)?FailedError|None of startup nodes is available/i;
|
const redisBootRetryRegex = /Cluster(All)?FailedError|None of startup nodes is available/i;
|
||||||
|
|
||||||
const formatRedisError = (error: unknown): string => {
|
const formatRedisError = (error: unknown): string => {
|
||||||
|
|||||||
Reference in New Issue
Block a user