Aaron Schulz has submitted this change and it was merged.
Change subject: Added two more incrStats() calls
......................................................................
Added two more incrStats() calls
Change-Id: I379a5ff360616ecd8443772998db9ff2f202bf94
---
M redisJobRunnerService
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Aaron Schulz: Verified
MaxSem: Looks good to me, approved
diff --git a/redisJobRunnerService b/redisJobRunnerService
index 2ec0812..930833a 100755
--- a/redisJobRunnerService
+++ b/redisJobRunnerService
@@ -342,9 +342,11 @@
// Backoff if there is nothing to do
if ( !$anyFree ) {
$this->debug( "All runner loops full." );
+ $this->incrStats( "all-full.$host", 1 );
usleep( 100000 );
} elseif ( !$anyNew ) {
$this->debug( "Loops have free slots, but there
are no appropriate jobs." );
+ $this->incrStats( "some-full.$host", 1 );
usleep( 100000 );
}
// Track memory usage
--
To view, visit https://gerrit.wikimedia.org/r/148450
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I379a5ff360616ecd8443772998db9ff2f202bf94
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/jobrunner
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: MaxSem <[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