aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-16 08:26:44 +0000
committerMario <mario@mariovavti.com>2020-11-16 08:26:44 +0000
commitdcf883075281e6ad8c66c1f0bf5ec93e67bf83a7 (patch)
tree6a162a049849c4f566ac84cf070429f2f2e4e2e6 /include/network.php
parent06273e980e7aa978d0145f1e5ecd92cbc2aef66e (diff)
parent3d519f478a3769945323c30bb6f7b4879a54a711 (diff)
downloadvolse-hubzilla-dcf883075281e6ad8c66c1f0bf5ec93e67bf83a7.tar.gz
volse-hubzilla-dcf883075281e6ad8c66c1f0bf5ec93e67bf83a7.tar.bz2
volse-hubzilla-dcf883075281e6ad8c66c1f0bf5ec93e67bf83a7.zip
Merge branch 'dev'
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/network.php b/include/network.php
index 9d4c00ee8..bcd66cf85 100644
--- a/include/network.php
+++ b/include/network.php
@@ -2,6 +2,7 @@
use Zotlabs\Lib\Zotfinger;
use Zotlabs\Lib\Libzot;
+use Zotlabs\Lib\Queue;
/**
* @file include/network.php
@@ -1437,10 +1438,10 @@ function do_delivery($deliveries, $force = false) {
$x = q("select count(outq_hash) as total from outq where outq_delivered = 0");
- if(intval($x[0]['total']) > intval(get_config('system','force_queue_threshold',300)) && (! $force)) {
+ if(intval($x[0]['total']) > intval(get_config('system','force_queue_threshold',3000)) && (! $force)) {
logger('immediate delivery deferred.', LOGGER_DEBUG, LOG_INFO);
foreach($deliveries as $d) {
- update_queue_item($d);
+ Queue::update($d);
}
return;
}