Reduce the retry count to 2.

This commit is contained in:
Jake Moshenko 2015-02-02 15:28:51 -05:00
parent 2215ec6669
commit 432da28b42

View file

@ -211,7 +211,7 @@ def start_build(repository, dockerfile_id, tags, build_name, subdir, manual,
dockerfile_build_queue.put([repository.namespace_user.username, repository.name], json.dumps({ dockerfile_build_queue.put([repository.namespace_user.username, repository.name], json.dumps({
'build_uuid': build_request.uuid, 'build_uuid': build_request.uuid,
'pull_credentials': model.get_pull_credentials(pull_robot_name) if pull_robot_name else None 'pull_credentials': model.get_pull_credentials(pull_robot_name) if pull_robot_name else None
}), retries_remaining=3) }), retries_remaining=2)
# Add the build to the repo's log. # Add the build to the repo's log.
metadata = { metadata = {