Commit 0b8b1558 by Kálmán Viktor

dashboard: add timeout for store download

parent 28fc85f7
...@@ -84,7 +84,7 @@ class Store(object): ...@@ -84,7 +84,7 @@ class Store(object):
return result return result
def request_download(self, path): def request_download(self, path):
r = self._request_cmd("DOWNLOAD", PATH=path) r = self._request_cmd("DOWNLOAD", PATH=path, timeout=5)
return r.json()['LINK'] return r.json()['LINK']
def request_upload(self, path): def request_upload(self, path):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment