Index: branches/wmf/1.17wmf1/maintenance/jobs-loop.sh |
— | — | @@ -6,7 +6,8 @@ |
7 | 7 | type=$1 |
8 | 8 | } |
9 | 9 | |
10 | | -types="htmlCacheUpdate sendMail enotifNotify uploadFromUrl fixDoubleRedirect" |
| 10 | +#types="htmlCacheUpdate sendMail enotifNotify uploadFromUrl fixDoubleRedirect renameUser" |
| 11 | +types="sendMail enotifNotify uploadFromUrl fixDoubleRedirect" |
11 | 12 | |
12 | 13 | cd `readlink -f /usr/local/apache/common/php/maintenance` |
13 | 14 | while [ 1 ];do |
— | — | @@ -18,7 +19,7 @@ |
19 | 20 | db=`php -n nextJobDB.php --type="$type"` |
20 | 21 | if [ -n "$db" ]; then |
21 | 22 | echo "$db $type" |
22 | | - nice -n 20 php runJobs.php --wiki="$db" --procs=4 --type="$type" --maxtime=300 & |
| 23 | + nice -n 20 php runJobs.php --wiki="$db" --procs=5 --type="$type" --maxtime=300 & |
23 | 24 | wait |
24 | 25 | moreprio=y |
25 | 26 | fi |
— | — | @@ -34,7 +35,7 @@ |
35 | 36 | sleep 5 |
36 | 37 | else |
37 | 38 | echo "$db" |
38 | | - nice -n 20 php runJobs.php --wiki="$db" --procs=4 --maxtime=300 & |
| 39 | + nice -n 20 php runJobs.php --wiki="$db" --procs=5 --maxtime=300 & |
39 | 40 | wait |
40 | 41 | fi |
41 | 42 | done |