Delete timeout with use_compression

This commit is contained in:
ssamson-tis 2015-10-20 10:22:40 +02:00
parent 55c92f0025
commit e8708f1efa

View File

@ -146,7 +146,8 @@ class backup_xva(backup_generic):
try: try:
filename_temp = filename+".tmp" filename_temp = filename+".tmp"
self.logger.debug("[%s] Copy in progress",self.backup_name) self.logger.debug("[%s] Copy in progress",self.backup_name)
socket.setdefaulttimeout(120) if not str2bool(use_compression):
socket.setdefaulttimeout(120)
scheme = "http://" scheme = "http://"
if str2bool(enable_https) == True: if str2bool(enable_https) == True: