From 0c2cb18578f2f02c96cdb5ab44d0db7b24ce2af5 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 8 Jun 2023 15:33:02 +0000 Subject: shuffle queue deliveries for more randomness --- Zotlabs/Daemon/Queue.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Zotlabs') 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); } } -- cgit v1.2.3