Commit 17c49ec3 authored by Daniel Scheffler's avatar Daniel Scheffler

Increased automatic ECMWF download timeout from 5 to 10 minutes to get rid of...

Increased automatic ECMWF download timeout from 5 to 10 minutes to get rid of timeout errors although downloads are running properly.
Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 78995967
Pipeline #16745 passed with stages
in 22 minutes and 3 seconds
...@@ -10,6 +10,8 @@ History ...@@ -10,6 +10,8 @@ History
* Removed travis related files. * Removed travis related files.
* Fixed dead URLs. * Fixed dead URLs.
* Added documentation on how to create jobs from job IDs. * Added documentation on how to create jobs from job IDs.
* Increased automatic ECMWF download timeout from 5 to 10 minutes
to get rid of timeout errors although downloads are running properly.
0.19.3 (2020-12-03) 0.19.3 (2020-12-03)
......
...@@ -807,7 +807,7 @@ class AtmCorr(object): ...@@ -807,7 +807,7 @@ class AtmCorr(object):
"fc_sea_salt_AOT_550nm"] "fc_sea_salt_AOT_550nm"]
# NOTE: use_signals must be set to True while executed as multiprocessing worker (e.g., in multiprocessing.Pool) # NOTE: use_signals must be set to True while executed as multiprocessing worker (e.g., in multiprocessing.Pool)
@timeout_decorator.timeout(seconds=60*5, timeout_exception=TimeoutError) @timeout_decorator.timeout(seconds=60*10, timeout_exception=TimeoutError)
def run_request(): def run_request():
try: try:
with MultiSlotLock('ECMWF download lock', allowed_slots=1, logger=self.logger): with MultiSlotLock('ECMWF download lock', allowed_slots=1, logger=self.logger):
......
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 to comment