Browse Source

fix mitm passthru cache flush

pull/43/head
Jonathan Cobb 4 years ago
parent
commit
d59bad9272
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bubble-server/src/main/java/bubble/service/cloud/StandardDeviceIdService.java

+ 1
- 1
bubble-server/src/main/java/bubble/service/cloud/StandardDeviceIdService.java View File

@@ -158,7 +158,7 @@ public class StandardDeviceIdService implements DeviceIdService {


public void initBlockStats (Account account) { public void initBlockStats (Account account) {
redis.set_plaintext(REDIS_KEY_ACCOUNT_SHOW_BLOCK_STATS+account.getUuid(), Boolean.toString(account.showBlockStats())); redis.set_plaintext(REDIS_KEY_ACCOUNT_SHOW_BLOCK_STATS+account.getUuid(), Boolean.toString(account.showBlockStats()));
redis.del_matching_withPrefix(REDIS_KEY_CHUNK_FILTER_PASS);
redis.del_matching_withPrefix(REDIS_KEY_CHUNK_FILTER_PASS+"*");
for (Device device : deviceDAO.findByAccount(account.getUuid())) { for (Device device : deviceDAO.findByAccount(account.getUuid())) {
if (account.showBlockStats()) { if (account.showBlockStats()) {
showBlockStats(device); showBlockStats(device);


Loading…
Cancel
Save