Sleep 3 seconds after deleting account, to throttle account suspension

This commit is contained in:
Bofh 2022-12-09 23:30:47 +01:00
parent 0d81b270a8
commit 080bfcf852
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ $_ = function() {
$output = instance_http_post('/api/v1/admin/accounts/'.$id.'/action',
['type' => 'suspend', 'text' => $explain ]);
#$output = instance_http_delete('/api/v1/admin/accounts/'.$id);
sleep(3);
return apiresult($output);
};
$_();