@upstash/redis
(retryCount) => Math.exp(retryCount) * 50
Redis
new Redis({ url: UPSTASH_REDIS_REST_URL, token: UPSTASH_REDIS_REST_TOKEN, retry: { retries: 5, backoff: (retryCount) => Math.exp(retryCount) * 50, }, });
Was this page helpful?