aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2024-11-27 10:25:37 +0100
committerMario Vavti <mario@mariovavti.com>2024-11-27 10:25:37 +0100
commit9e2f3dc05f411ec7af96cb4831aea0381ab34a99 (patch)
tree604b29676cc05b8da892b369f49524edbdcdfe86 /include/network.php
parent9fa18a55579bf4eafc4484536ed29335cd98b2a9 (diff)
downloadvolse-hubzilla-9e2f3dc05f411ec7af96cb4831aea0381ab34a99.tar.gz
volse-hubzilla-9e2f3dc05f411ec7af96cb4831aea0381ab34a99.tar.bz2
volse-hubzilla-9e2f3dc05f411ec7af96cb4831aea0381ab34a99.zip
fix more issues reported by phpstan
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/network.php b/include/network.php
index a8ccee15c..d87482d9d 100644
--- a/include/network.php
+++ b/include/network.php
@@ -1489,11 +1489,11 @@ function do_delivery($deliveries, $force = false) {
$interval = Config::Get('queueworker', 'queue_interval', 500000);
-// $deliveries_per_process = intval(Config::Get('system','delivery_batch_count'));
+ $deliveries_per_process = intval(Config::Get('system', 'delivery_batch_count'));
- if($deliveries_per_process <= 0)
+ if($deliveries_per_process <= 0) {
$deliveries_per_process = 1;
-
+ }
$deliver = [];
foreach($deliveries as $d) {