jenkins-bot has submitted this change and it was merged.
Change subject: Made --maxReal parameter actually work
......................................................................
Made --maxReal parameter actually work
Change-Id: I068b00cc3532ebff63aa91680c58c1163cff7104
---
M redisJobRunnerService
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Aaron Schulz: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I068b00cc3532ebff63aa91680c58c1163cff7104
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/services/jobrunner
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits