From 043c8b771e9fbcc18cf2dd1f4bfcb36ad1d30bad Mon Sep 17 00:00:00 2001 From: Ajay Date: Mon, 23 May 2022 20:15:44 -0400 Subject: [PATCH] Lower redis timeout --- src/utils/redis.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/redis.ts b/src/utils/redis.ts index e1bc2e9..7627d0f 100644 --- a/src/utils/redis.ts +++ b/src/utils/redis.ts @@ -31,7 +31,7 @@ if (config.redis?.enabled) { client.connect(); exportClient = client; - const timeoutDuration = 200; + const timeoutDuration = 40; const get = client.get.bind(client); exportClient.get = (key) => new Promise((resolve, reject) => { const timeout = setTimeout(() => reject(), timeoutDuration);