mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 13:07:58 +01:00
Add a pessimistic locking system for operations on recently-deleted account records
This commit is contained in:
committed by
Jon Chambers
parent
b757d4b334
commit
32a95f96ff
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user