Lower redis timeout

This commit is contained in:
Ajay 2022-05-23 20:15:44 -04:00
parent 55ff3230ed
commit 043c8b771e

View file

@ -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);