Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--downloadmanager.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 31ca169..81a29b6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+* Increase timeout when copying the file into the datastore to 360s. (tomeu)
+
35
* #2370 Updated spanish translation. (xavi)
diff --git a/downloadmanager.py b/downloadmanager.py
index cf5195f..500a374 100644
--- a/downloadmanager.py
+++ b/downloadmanager.py
@@ -115,7 +115,8 @@ class Download:
_active_ds_writes = _active_ds_writes + 1
datastore.write(self._dl_jobject,
reply_handler=self._internal_save_cb,
- error_handler=self._internal_save_error_cb)
+ error_handler=self._internal_save_error_cb,
+ timeout=360)
def _cleanup_datastore_write(self):
global _active_ds_writes