Browse Source

fix flush, no need to prefix ALL_KEYS, keys method will do that

tags/2.0.1
Jonathan Cobb 5 years ago
parent
commit
f7108ec232
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wizard-server/src/main/java/org/cobbzilla/wizard/cache/redis/RedisService.java

+ 1
- 1
wizard-server/src/main/java/org/cobbzilla/wizard/cache/redis/RedisService.java View File

@@ -663,6 +663,6 @@ public class RedisService {
}
}

public void flush() { keys(prefix(ALL_KEYS)).forEach(this::del_withPrefix); }
public void flush() { keys(ALL_KEYS).forEach(this::del_withPrefix); }

}

Loading…
Cancel
Save