Add a pessimistic locking system for operations on recently-deleted account records

This commit is contained in:
Jon Chambers
2021-07-14 16:58:51 -04:00
committed by Jon Chambers
parent b757d4b334
commit 32a95f96ff
16 changed files with 487 additions and 53 deletions

View File

@@ -738,7 +738,7 @@ public class AccountController {
@Timed
@DELETE
@Path("/me")
public void deleteAccount(@Auth Account account) {
public void deleteAccount(@Auth Account account) throws InterruptedException {
accounts.delete(account, AccountsManager.DeletionReason.USER_REQUEST);
}