remove random waiting on task start, wait based on task id
This commit is contained in:
parent
ee0542ce28
commit
32f3c02ba3
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue