From: Michael Date: Mon, 12 Nov 2018 05:03:12 +0000 (+0000) Subject: Avoid a blocked workerqueue due to removed users X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1e873a28153fbc22d74e0a5b41deb61a39019a2d;p=friendica.git Avoid a blocked workerqueue due to removed users --- diff --git a/src/Worker/RemoveUser.php b/src/Worker/RemoveUser.php index d8966e5a49..10ede55763 100644 --- a/src/Worker/RemoveUser.php +++ b/src/Worker/RemoveUser.php @@ -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));