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:
parent
d0c7fd11ae
commit
36a0515a33
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue