changed sleep to 2 sec. fixed the setting of swift_conn during deletion process. Timeout of ssl increased to 10. Added checks to segment files: they have to be power of 2.

This commit is contained in:
2016-05-08 22:46:08 +02:00
parent facda776b1
commit 77f3a9fa05
10 changed files with 23 additions and 19 deletions

View File

@@ -20,7 +20,7 @@ def launch(secretkey,set_secretkey,create_temp_url,duration_in_seconds,objectpat
except Exception as e:
print("Exception during setting / getting the secret key.")
print(e)
time.sleep(1)
time.sleep(2)
if fail_tries_counter == fail_tries - 1 :
print("Maximum tries reached. Exiting.")
sys.exit(-1)