aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-06-08 15:33:02 +0000
committerMario <mario@mariovavti.com>2023-06-08 15:33:02 +0000
commit0c2cb18578f2f02c96cdb5ab44d0db7b24ce2af5 (patch)
tree25c89524fcd143316ceedb2b218ec2f407e8b781 /Zotlabs
parentdb2c5aae845e8defae965defe91aacb125ef282a (diff)
downloadvolse-hubzilla-0c2cb18578f2f02c96cdb5ab44d0db7b24ce2af5.tar.gz
volse-hubzilla-0c2cb18578f2f02c96cdb5ab44d0db7b24ce2af5.tar.bz2
volse-hubzilla-0c2cb18578f2f02c96cdb5ab44d0db7b24ce2af5.zip
shuffle queue deliveries for more randomness
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Daemon/Queue.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Daemon/Queue.php b/Zotlabs/Daemon/Queue.php
index 91aba831a..6cb059ecd 100644
--- a/Zotlabs/Daemon/Queue.php
+++ b/Zotlabs/Daemon/Queue.php
@@ -55,6 +55,9 @@ class Queue {
foreach ($qItems as $qItem) {
$deliveries[] = $qItem['outq_hash'];
}
+ shuffle($deliveries);
+ hz_syslog(print_r($deliveries, true));
+
do_delivery($deliveries, true);
}
}