Skip to content

Commit

Permalink
Removed logging in favor of auto reconnect to match old behavior
Browse files Browse the repository at this point in the history
Signed-off-by: Cory Imdieke <[email protected]>
  • Loading branch information
Vortec4800 authored Aug 1, 2023
1 parent 9b8429e commit 716b7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapters/Cache/RedisCacheAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class RedisCacheAdapter {
this.ttl = isValidTTL(ttl) ? ttl : DEFAULT_REDIS_TTL;
this.client = createClient(redisCtx);
this.queue = new KeyPromiseQueue();
this.client.on('error', err => _logger.error('RedisCacheAdapter Redis Client error', { error: err }));
this.client.on('error', err => {});

Check failure on line 20 in src/Adapters/Cache/RedisCacheAdapter.js

View workflow job for this annotation

GitHub Actions / Lint

'err' is defined but never used
this.client.on('connect', () => {});
this.client.on('reconnecting', () => {});
this.client.on('ready', () => {});
Expand Down

0 comments on commit 716b7e6

Please sign in to comment.