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