dheerajturaga commented on PR #56206: URL: https://github.com/apache/airflow/pull/56206#issuecomment-3393383631
> Not required, but just a thought, we could use tenacity, here instead of a custom retry loop. It might make the retry/backoff logic easier to read/maintain. For example: > > ```python > @retry(stop=stop_after_attempt(3), wait=wait_exponential(), reraise=True) > def clone_bare_repo(url, path, env=None): > return Repo.clone_from(url, path, bare=True, env=env) > ``` good idea! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
