Use flushdb instead of flushall in RedisCacheAdapter (#3523)

This commit is contained in:
Jeremy Louie
2017-02-18 19:36:43 -05:00
committed by Florent Vilmart
parent a520ea0243
commit 6ae0675010

View File

@@ -71,7 +71,7 @@ export class RedisCacheAdapter {
debug('clear');
this.p = this.p.then(() => {
return new Promise((resolve) => {
this.client.flushall(function() {
this.client.flushdb(function() {
resolve();
});
});