Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/downloadmanager.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-26 07:04:54 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-26 07:04:54 (GMT)
commitd6bebbe455da88000e223ae51b1e1c5974b062c0 (patch)
tree810b0a2c217faf88ad735e12eaa14b460a377067 /downloadmanager.py
parentd27267448009b93834100e20d9a3723556868c3a (diff)
Increase timeout when copying the file into the datastore to 360s.
Diffstat (limited to 'downloadmanager.py')
-rw-r--r--downloadmanager.py3
1 files changed, 2 insertions, 1 deletions
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