Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/147380
Change subject: Made maxReal parameter actually work
......................................................................
Made maxReal parameter actually work
Change-Id: I068b00cc3532ebff63aa91680c58c1163cff7104
---
M redisJobRunnerService
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/jobrunner
refs/changes/80/147380/1
diff --git a/redisJobRunnerService b/redisJobRunnerService
index 632209a..f71ba3e 100755
--- a/redisJobRunnerService
+++ b/redisJobRunnerService
@@ -369,7 +369,7 @@
? proc_get_status( $procSlot['handle'] )
: false;
if ( $status && $status['running'] ) {
- $maxReal = isset(
$this->maxReal[$procSlot['type']] )
+ $maxReal = isset(
$this->maxRealMap[$procSlot['type']] )
? $this->maxRealMap[$procSlot['type']]
: $this->maxRealMap['*'];
$age = $cTime - $procSlot['stime'];
--
To view, visit https://gerrit.wikimedia.org/r/147380
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I068b00cc3532ebff63aa91680c58c1163cff7104
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/jobrunner
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits