Skip to content

Commit 043c8b7

Browse files
committed
Lower redis timeout
1 parent 55ff323 commit 043c8b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/redis.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (config.redis?.enabled) {
3131
client.connect();
3232
exportClient = client;
3333

34-
const timeoutDuration = 200;
34+
const timeoutDuration = 40;
3535
const get = client.get.bind(client);
3636
exportClient.get = (key) => new Promise((resolve, reject) => {
3737
const timeout = setTimeout(() => reject(), timeoutDuration);

0 commit comments

Comments
 (0)