Sleep 3 seconds after deleting account, to throttle account suspension
This commit is contained in:
parent
0d81b270a8
commit
080bfcf852
|
@ -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);
|
||||
};
|
||||
$_();
|
||||
|
|
Loading…
Reference in New Issue