From 17c49ec357d2bddea84e34bb289271edcdee8ca3 Mon Sep 17 00:00:00 2001 From: Daniel Scheffler Date: Thu, 10 Dec 2020 21:23:12 +0100 Subject: [PATCH] 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 --- HISTORY.rst | 2 ++ gms_preprocessing/algorithms/L1C_P.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 489610e..e332447 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -10,6 +10,8 @@ History * Removed travis related files. * Fixed dead URLs. * 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) diff --git a/gms_preprocessing/algorithms/L1C_P.py b/gms_preprocessing/algorithms/L1C_P.py index ad12460..b6ce1a8 100644 --- a/gms_preprocessing/algorithms/L1C_P.py +++ b/gms_preprocessing/algorithms/L1C_P.py @@ -807,7 +807,7 @@ class AtmCorr(object): "fc_sea_salt_AOT_550nm"] # 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(): try: with MultiSlotLock('ECMWF download lock', allowed_slots=1, logger=self.logger): -- GitLab