summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-31 14:39:31 +0400
committerAndrew Dolgov <[email protected]>2013-03-31 14:39:31 +0400
commit32f3c02ba3afb69cc3b399ac02f4f47a708002e2 (patch)
tree4d413f53c9bfadd740a0cadd49d7749ecb0316ba /update_daemon2.php
parentee0542ce2802a5a3ce169ae4cf7c75d7fc85e3f7 (diff)
remove random waiting on task start, wait based on task id
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-xupdate_daemon2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index e8523d22b..fa64b302d 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) {