Add job limit per run

Add a limit of 50 jobs per run, to prevent potential server slowdown if the queues ever get so big the script starts timing out or running out of memory.

This is already in effect, just reflecting the change here.
This commit is contained in:
Soveia 2022-11-21 17:11:07 +00:00
parent d0c7fd11ae
commit 36a0515a33
1 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,6 @@ foreach($name in $sitenames){
$actualname = $name.Replace(".d", "")
$env:MT_WIKI_NAME = $actualname
php /web1-data1/wikiroot/current/w/maintenance/runJobs.php
php /web1-data1/wikiroot/current/w/maintenance/runJobs.php --maxjobs 50
}
}