Hashar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/102465
Change subject: WMF: less build description updates
......................................................................
WMF: less build description updates
Whenever a job status change (in progress, completed), Zuul would update
the job description of all other jobs. Each update takes roughly 500ms
according to Jenkins access log.
A change made to Mediawiki core triggers 9 jobs, each of them will have
two states changes hence 18 updates are submitted or 9 seconds (at
least).
This change disable the description update when a build starts or
completes. The description would only be updated when the change is
reported back in Gerrit.
bug: 48025
Change-Id: I3bf4096659b071fec25370397ffb21dd6ee77426
---
M zuul/scheduler.py
1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/integration/zuul
refs/changes/65/102465/1
diff --git a/zuul/scheduler.py b/zuul/scheduler.py
index 1628642..20dd5c2 100644
--- a/zuul/scheduler.py
+++ b/zuul/scheduler.py
@@ -803,7 +803,8 @@
# or restarted
return False
- self.updateBuildDescriptions(build.build_set)
+ # HASHAR Wikimedia hack
+ #self.updateBuildDescriptions(build.build_set)
return True
def handleFailedChange(self, change):
@@ -831,7 +832,8 @@
self.reportChanges()
self.launchJobs()
- self.updateBuildDescriptions(build.build_set)
+ # HASHAR Wikimedia hack
+ #self.updateBuildDescriptions(build.build_set)
return True
def reportChanges(self):
--
To view, visit https://gerrit.wikimedia.org/r/102465
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3bf4096659b071fec25370397ffb21dd6ee77426
Gerrit-PatchSet: 1
Gerrit-Project: integration/zuul
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits