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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user