From bec9976ed2565dd3fd5eafe25a9fca85364f65bb Mon Sep 17 00:00:00 2001 From: Darius Couchard Date: Mon, 2 Sep 2024 13:37:09 +0200 Subject: [PATCH] Implemented PR changes requests --- src/openeo_gfmap/fetching/generic.py | 2 +- src/openeo_gfmap/manager/job_manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openeo_gfmap/fetching/generic.py b/src/openeo_gfmap/fetching/generic.py index ee0b430..46edb74 100644 --- a/src/openeo_gfmap/fetching/generic.py +++ b/src/openeo_gfmap/fetching/generic.py @@ -55,7 +55,7 @@ def generic_default_fetcher( temporal_extent is not None ): _log.warning( - "User set-up non None temporal extent for %s collection. Ignoring it.", + "Ignoring the temporal extent provided by the user as the collection %s is known to be untemporal.", collection_name, ) temporal_extent = None diff --git a/src/openeo_gfmap/manager/job_manager.py b/src/openeo_gfmap/manager/job_manager.py index b9dd859..986bbf4 100644 --- a/src/openeo_gfmap/manager/job_manager.py +++ b/src/openeo_gfmap/manager/job_manager.py @@ -21,7 +21,7 @@ _stac_lock = Lock() -def retry_on_exception(max_retries: int, delay_s: float = 180.0): +def retry_on_exception(max_retries: int, delay_s: int = 180): """Decorator to retry a function if an exception occurs. Used for post-job actions that can crash due to internal backend issues. Restarting the action usually helps to solve the issue.