Merge "Sets defaults in swift connection related to retries"

This commit is contained in:
Jenkins 2016-11-07 21:50:36 +00:00 committed by Gerrit Code Review
commit 5915c83934
1 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,10 @@ class TripleOAction(base.Action):
kwargs = {
'preauthurl': obj_ep.url % {'tenant_id': ctx.project_id},
'preauthtoken': ctx.auth_token
'preauthtoken': ctx.auth_token,
'retries': 10,
'starting_backoff': 3,
'max_backoff': 120
}
return swift_client.Connection(**kwargs)