Debug log all cases where we mark a build as incomplete in the queue

Should help us narrow down why some builds are falling back
This commit is contained in:
Joseph Schorr 2016-11-07 15:49:45 -05:00
parent ef41e57aad
commit c98472e9f3
3 changed files with 10 additions and 2 deletions

View file

@ -17,7 +17,7 @@ class BaseManager(object):
every few minutes. """
self.job_heartbeat_callback(build_job)
def setup_time(self):
def overall_setup_time(self):
""" Returns the number of seconds that the build system should wait before allowing the job
to be picked up again after called 'schedule'.
"""

View file

@ -45,7 +45,7 @@ class EnterpriseManager(BaseManager):
# production, build workers in enterprise are long-lived and register dynamically.
self.register_component(REGISTRATION_REALM, DynamicRegistrationComponent)
def setup_time(self):
def overall_setup_time(self):
# Builders are already registered, so the setup time should be essentially instant. We therefore
# only return a minute here.
return 60