]> git.mxchange.org Git - friendica.git/commitdiff
Avoid a blocked workerqueue due to removed users
authorMichael <heluecht@pirati.ca>
Mon, 12 Nov 2018 05:03:12 +0000 (05:03 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 12 Nov 2018 05:03:12 +0000 (05:03 +0000)
src/Worker/RemoveUser.php

index d8966e5a491f661c10bf536e799c60dd206f4b53..10ede55763d47ea2071866fdd6de59acac32239a 100644 (file)
@@ -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));