Have the builder not start and stop, over and over, if not enabled

This commit is contained in:
Joseph Schorr 2015-01-26 14:13:55 -05:00
parent 8e0c1a7d74
commit be6701b310

View file

@ -21,6 +21,8 @@ EXTERNALLY_MANAGED = 'external'
def run_build_manager():
if not features.BUILD_SUPPORT:
logger.debug('Building is disabled. Please enable the feature flag')
while True:
time.sleep(1000)
return
build_manager_config = app.config.get('BUILD_MANAGER')