Slightly increased download timeouts
This commit is contained in:
parent
b5bfad5719
commit
c8d6070682
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ class DownloadUtils():
|
||||||
|
|
||||||
# Requests session
|
# Requests session
|
||||||
s = None
|
s = None
|
||||||
timeout = 3
|
timeout = 10
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ class image_cache_thread(threading.Thread):
|
||||||
"http://%s:%s/image/image://%s"
|
"http://%s:%s/image/image://%s"
|
||||||
% (self.xbmc_host, self.xbmc_port, self.urlToProcess)),
|
% (self.xbmc_host, self.xbmc_port, self.urlToProcess)),
|
||||||
auth=(self.xbmc_username, self.xbmc_password),
|
auth=(self.xbmc_username, self.xbmc_password),
|
||||||
timeout=(0.1, 0.1))
|
timeout=(2, 2))
|
||||||
# We don't need the result
|
# We don't need the result
|
||||||
except: pass
|
except: pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue