Use flushdb instead of flushall in RedisCacheAdapter (#3523)
This commit is contained in:
committed by
Florent Vilmart
parent
a520ea0243
commit
6ae0675010
@@ -71,7 +71,7 @@ export class RedisCacheAdapter {
|
|||||||
debug('clear');
|
debug('clear');
|
||||||
this.p = this.p.then(() => {
|
this.p = this.p.then(() => {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
this.client.flushall(function() {
|
this.client.flushdb(function() {
|
||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user