mirror of
https://github.com/friendica/friendica
synced 2024-11-18 22:23:42 +00:00
Merge pull request #6116 from annando/remove-user
Avoid a blocked workerqueue due to removed users
This commit is contained in:
commit
67f4fdab32
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class RemoveUser {
|
|||
do {
|
||||
$items = Item::select(['id'], $condition, ['limit' => 100]);
|
||||
while ($item = Item::fetch($items)) {
|
||||
Item::deleteById($item['id'], PRIORITY_LOW);
|
||||
Item::deleteById($item['id'], PRIORITY_NEGLIGIBLE);
|
||||
}
|
||||
DBA::close($items);
|
||||
} while (Item::exists($condition));
|
||||
|
|
Loading…
Reference in a new issue