possible memory leak fixes

This commit is contained in:
Nour Alharithi
2023-12-11 18:52:46 -08:00
parent 54d463f84e
commit c1a5afe3d7
3 changed files with 6 additions and 3 deletions

View File

@@ -34,6 +34,7 @@ export const getRedisClient = (
return false;
},
maxRetriesPerRequest: null, // unlimited retries
enableOfflineQueue: false,
});
redisClient.on('connect', () => {