In very specific circumstances we can bulkDistribute 0 notices
Seems to be what caused an infinite loop on quitter.es, or I guess so anyway.
This commit is contained in:
@@ -255,7 +255,7 @@ class OStatusQueueHandler extends QueueHandler
|
||||
}
|
||||
}
|
||||
}
|
||||
if (count($batch) >= 0) {
|
||||
if (count($batch) > 0) {
|
||||
$sub->bulkDistribute($atom, $batch);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user