remove random waiting on task start, wait based on task id

This commit is contained in:
Andrew Dolgov 2013-03-31 14:39:31 +04:00
parent ee0542ce28
commit 32f3c02ba3
1 changed files with 2 additions and 2 deletions

View File

@ -248,8 +248,8 @@
$nf = 0; $nf = 0;
_debug("Waiting before update.."); _debug("Waiting before update [$j]..");
sleep(rand(1,15)); sleep($j*5);
$nf = update_daemon_common($link); $nf = update_daemon_common($link);
if (rand(0,100) > 50) { if (rand(0,100) > 50) {