From 5668fd1b41fe1929f21afef16bc401478146c385 Mon Sep 17 00:00:00 2001 From: huwylphimet <151621654+huwylphimet@users.noreply.github.com> Date: Thu, 12 Sep 2024 17:32:20 +0200 Subject: [PATCH] fix hardcoded queue_retry_sleep_duration log message --- meteoblue_dataset_sdk/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meteoblue_dataset_sdk/client.py b/meteoblue_dataset_sdk/client.py index 27941a4..02ded8f 100644 --- a/meteoblue_dataset_sdk/client.py +++ b/meteoblue_dataset_sdk/client.py @@ -148,7 +148,7 @@ async def _run_on_job_queue(self, session: aiohttp.ClientSession, params: dict): if status == "error": raise ApiError(json_data["error_message"]) logging.info( - f"Waiting 5 seconds for job to complete. Status: {status}, \ + f"Waiting {self._config.queue_retry_sleep_duration} seconds for job to complete. Status: {status}, \ job id {job_id}" ) await asyncio.sleep(self._config.queue_retry_sleep_duration)