Skip to content

Commit 7b13b56

Browse files
authored
Merge 83aba07 into 42929e0
2 parents 42929e0 + 83aba07 commit 7b13b56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Adapters/Cache/RedisCacheAdapter.js

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ export class RedisCacheAdapter {
1717
this.ttl = isValidTTL(ttl) ? ttl : DEFAULT_REDIS_TTL;
1818
this.client = createClient(redisCtx);
1919
this.queue = new KeyPromiseQueue();
20+
this.client.on('error', err => { logger.error('RedisCacheAdapter client error', { error: err }) });
21+
this.client.on('connect', () => {});
22+
this.client.on('reconnecting', () => {});
23+
this.client.on('ready', () => {});
2024
}
2125

2226
async connect() {

0 commit comments

Comments
 (0)