Commit e8e6156e authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Increase number of retries when resolving or fetching credentials.

parent 5ff038b2
...@@ -344,7 +344,7 @@ def resolve_slice( name, selfcredential ): ...@@ -344,7 +344,7 @@ def resolve_slice( name, selfcredential ):
params["hrn"] = name params["hrn"] = name
pass pass
count = 2 count = 20
while True: while True:
rval,response = do_method("sa", "Resolve", params) rval,response = do_method("sa", "Resolve", params)
if rval: if rval:
...@@ -381,7 +381,7 @@ def get_slice_credential( slice, selfcredential ): ...@@ -381,7 +381,7 @@ def get_slice_credential( slice, selfcredential ):
params["uuid"] = slice["uuid"] params["uuid"] = slice["uuid"]
pass pass
count = 2 count = 20
while True: while True:
rval,response = do_method("sa", "GetCredential", params) rval,response = do_method("sa", "GetCredential", params)
if rval: if rval:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment