perry2of5 commented on PR #48557: URL: https://github.com/apache/airflow/pull/48557#issuecomment-2910122722
The overflow error is likely two places: on line 1120: ` min_backoff = math.ceil(delay.total_seconds() * (2 ** (self.try_number - 1)))` And on line 1145: [https://docs.python.org/3/library/datetime.html#timedelta-objects](https://docs.python.org/3/library/datetime.html#timedelta-objects) `delay = timedelta(seconds=delay_backoff_in_seconds)` Keeping the try block as it currently is avoids having two try blocks, but possibly two try blocks would be more readable. I'll fiddle with it and try to improve. Thanks for the feedback. -- 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]
