|
@@ -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); |
|
|