Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
2 parents 70699a9 + 1d32ece commit 7164054
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/momento-redis-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,15 @@ export class MomentoRedisAdapter
// eslint-disable-next-line require-await, @typescript-eslint/require-await
async quit(): Promise<'OK'> {
this.momentoClient.close();
this.emit('end')

Check failure on line 258 in src/momento-redis-adapter.ts

View workflow job for this annotation

GitHub Actions / publish_javascript

Insert `;`

Check failure on line 258 in src/momento-redis-adapter.ts

View workflow job for this annotation

GitHub Actions / publish_javascript

Missing semicolon
return 'OK';
}

disconnect(reconnect?: boolean): void {

Check warning on line 262 in src/momento-redis-adapter.ts

View workflow job for this annotation

GitHub Actions / publish_javascript

'reconnect' is defined but never used
return; //noop for this for now. TODO Decide if we want to close and remake client or not.
// TODO handle reconnect event. re-make momento client?
this.momentoClient.close();
this.emit('end')

Check failure on line 265 in src/momento-redis-adapter.ts

View workflow job for this annotation

GitHub Actions / publish_javascript

Insert `;`

Check failure on line 265 in src/momento-redis-adapter.ts

View workflow job for this annotation

GitHub Actions / publish_javascript

Missing semicolon
return

Check failure on line 266 in src/momento-redis-adapter.ts

View workflow job for this annotation

GitHub Actions / publish_javascript

Insert `;`

Check failure on line 266 in src/momento-redis-adapter.ts

View workflow job for this annotation

GitHub Actions / publish_javascript

Missing semicolon
}

emitError(op: string, msg: string, code?: MomentoErrorCode) {
Expand Down

0 comments on commit 7164054

Please sign in to comment.