Skip to content

Commit 6ae0675

Browse files
JeremyPleaseflovilmart
authored andcommitted
Use flushdb instead of flushall in RedisCacheAdapter (#3523)
1 parent a520ea0 commit 6ae0675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapters/Cache/RedisCacheAdapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class RedisCacheAdapter {
7171
debug('clear');
7272
this.p = this.p.then(() => {
7373
return new Promise((resolve) => {
74-
this.client.flushall(function() {
74+
this.client.flushdb(function() {
7575
resolve();
7676
});
7777
});

0 commit comments

Comments
 (0)