From 32f3c02ba3afb69cc3b399ac02f4f47a708002e2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 31 Mar 2013 14:39:31 +0400 Subject: [PATCH] remove random waiting on task start, wait based on task id --- update_daemon2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update_daemon2.php b/update_daemon2.php index e8523d22..fa64b302 100755 --- a/update_daemon2.php +++ b/update_daemon2.php @@ -248,8 +248,8 @@ $nf = 0; - _debug("Waiting before update.."); - sleep(rand(1,15)); + _debug("Waiting before update [$j].."); + sleep($j*5); $nf = update_daemon_common($link); if (rand(0,100) > 50) { -- 2.39.5