We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a88cced commit f3ed239Copy full SHA for f3ed239
1 file changed
src/utils/redis.ts
@@ -78,7 +78,8 @@ const activeRequestPromises: Record<string, Promise<string>> = {};
78
// Used to handle race conditions
79
const resetKeys: Set<RedisCommandArgument> = new Set();
80
const cache = config.redis.clientCacheSize ? new LRUCache<RedisCommandArgument, string>({
81
- maxSize: config.redis.clientCacheSize,
+ // maxSize: config.redis.clientCacheSize,
82
+ maxElements: 80000,
83
ttl: 1000 * 60 * 30
84
}) : null;
85
// Used to cache ttl data
0 commit comments