Skip to content

Commit

Permalink
fix hardcoded queue_retry_sleep_duration log message (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
huwylphimet authored Sep 13, 2024
1 parent 4bac789 commit 987493e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meteoblue_dataset_sdk/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 987493e

Please sign in to comment.