Browse Source

On ne restart le container que tout les 20 dl

master
Julien Cabillot 9 months ago
parent
commit
413f5f709e
1 changed files with 5 additions and 2 deletions
  1. 7
      worker.php

7
worker.php

@ -8,5 +8,8 @@ if (!file_exists(DOWNLOADEDDIR.'/.mydlok')) {
exit(1); exit(1);
} }
Download::launchNextDownload();
sleep(30);
# TODO: fetch that from env
for ($i = 0; $i < 20; $i++) {
Download::launchNextDownload();
sleep(30);
}
Loading…
Cancel
Save