Delete accounts from Redis after they've been deleted from Dynamo

This commit is contained in:
Jon Chambers 2021-11-23 18:07:55 -05:00 committed by Jon Chambers
parent 6b71b66bd2
commit 2a4d1da2ca
1 changed files with 1 additions and 1 deletions

View File

@ -453,8 +453,8 @@ public class AccountsManager {
deleteStorageServiceDataFuture.join();
deleteBackupServiceDataFuture.join();
redisDelete(account);
accounts.delete(account.getUuid());
redisDelete(account);
RedisOperation.unchecked(() ->
account.getDevices().forEach(device ->