Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: third_party/buildbot_8_4p1/buildbot/master.py

Issue 2102003003: Revert "Fix masters_test presubmit_tests by using serialized sqlite access." (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@buildbot-retry-concurrent
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/buildbot_8_4p1/buildbot/db/enginestrategy.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This file is part of Buildbot. Buildbot is free software: you can 1 # This file is part of Buildbot. Buildbot is free software: you can
2 # redistribute it and/or modify it under the terms of the GNU General Public 2 # redistribute it and/or modify it under the terms of the GNU General Public
3 # License as published by the Free Software Foundation, version 2. 3 # License as published by the Free Software Foundation, version 2.
4 # 4 #
5 # This program is distributed in the hope that it will be useful, but WITHOUT 5 # This program is distributed in the hope that it will be useful, but WITHOUT
6 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 6 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
7 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 7 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
8 # details. 8 # details.
9 # 9 #
10 # You should have received a copy of the GNU General Public License along with 10 # You should have received a copy of the GNU General Public License along with
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 301
302 try: 302 try:
303 # required 303 # required
304 schedulers = config['schedulers'] 304 schedulers = config['schedulers']
305 builders = config['builders'] 305 builders = config['builders']
306 slavePortnum = config['slavePortnum'] 306 slavePortnum = config['slavePortnum']
307 #slaves = config['slaves'] 307 #slaves = config['slaves']
308 #change_source = config['change_source'] 308 #change_source = config['change_source']
309 309
310 # optional 310 # optional
311 db_url = config.get("db_url", 311 db_url = config.get("db_url", "sqlite:///state.sqlite")
312 "sqlite:///state.sqlite?serialize_access=1")
313 db_poll_interval = config.get("db_poll_interval", None) 312 db_poll_interval = config.get("db_poll_interval", None)
314 debugPassword = config.get('debugPassword') 313 debugPassword = config.get('debugPassword')
315 manhole = config.get('manhole') 314 manhole = config.get('manhole')
316 status = config.get('status', []) 315 status = config.get('status', [])
317 # projectName/projectURL still supported to avoid 316 # projectName/projectURL still supported to avoid
318 # breaking legacy configurations 317 # breaking legacy configurations
319 title = config.get('title', config.get('projectName')) 318 title = config.get('title', config.get('projectName'))
320 titleURL = config.get('titleURL', config.get('projectURL')) 319 titleURL = config.get('titleURL', config.get('projectURL'))
321 buildbotURL = config.get('buildbotURL') 320 buildbotURL = config.get('buildbotURL')
322 properties = config.get('properties', {}) 321 properties = config.get('properties', {})
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 self.master.addChange(change) 1310 self.master.addChange(change)
1312 1311
1313 def addBuildset(self, **kwargs): 1312 def addBuildset(self, **kwargs):
1314 return self.master.addBuildset(**kwargs) 1313 return self.master.addBuildset(**kwargs)
1315 1314
1316 def getBuilder(self, name): 1315 def getBuilder(self, name):
1317 b = self.master.botmaster.builders[name] 1316 b = self.master.botmaster.builders[name]
1318 return BuilderControl(b, self) 1317 return BuilderControl(b, self)
1319 1318
1320 components.registerAdapter(Control, BuildMaster, interfaces.IControl) 1319 components.registerAdapter(Control, BuildMaster, interfaces.IControl)
OLDNEW
« no previous file with comments | « third_party/buildbot_8_4p1/buildbot/db/enginestrategy.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698