jenkins-bot has submitted this change and it was merged.

Change subject: Fixed PHP notice accessing variable
......................................................................


Fixed PHP notice accessing variable

Change-Id: Ia7edcf57de366815516a581464eda7fa837939b2
---
M redisJobRunnerService
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/redisJobRunnerService b/redisJobRunnerService
index 958beb0..ff46071 100755
--- a/redisJobRunnerService
+++ b/redisJobRunnerService
@@ -810,7 +810,7 @@
                                }
                                if ( $status['exitcode'] == 0 ) {
                                        // If this finished early, lay off of 
the queue for a while
-                                       if ( ( $cTime - $procSlot['stime'] ) < 
$this->hpMaxTime/2 ) {
+                                       if ( ( $cTime - $procSlot['stime'] ) < 
$this->srvc->hpMaxTime/2 ) {
                                                unset( 
$pending[$procSlot['type']][$procSlot['db']] );
                                                $this->srvc->debug( "Queue 
'{$procSlot['db']}/{$procSlot['type']}' emptied." );
                                        }

-- 
To view, visit https://gerrit.wikimedia.org/r/150085
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia7edcf57de366815516a581464eda7fa837939b2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/jobrunner
Gerrit-Branch: master
Gerrit-Owner: 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

Reply via email to