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

@@ -299,7 +299,7 @@ def launch(localpath,temp_dir,swift_container,prefix,size_limit_to_segment,size_
except Exception as e:
print("Exception during upload")
print(e)
time.sleep(1)
time.sleep(2)
errors_upload = errors_upload + 1
swift_conn = authentication.set_authentication ()
if fail_tries_counter == fail_tries - 1 :