diff options
author | Andrew Dolgov <[email protected]> | 2013-03-31 14:39:31 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-31 14:39:31 +0400 |
commit | 32f3c02ba3afb69cc3b399ac02f4f47a708002e2 (patch) | |
tree | 4d413f53c9bfadd740a0cadd49d7749ecb0316ba | |
parent | ee0542ce2802a5a3ce169ae4cf7c75d7fc85e3f7 (diff) |
remove random waiting on task start, wait based on task id
-rwxr-xr-x | update_daemon2.php | 4 |
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) { |