uranusjr commented on issue #15496:
URL: https://github.com/apache/airflow/issues/15496#issuecomment-825270133


   SQLAlchemy [already retries 
twice](https://github.com/zzzeek/sqlalchemy/blob/71ea06c958cd9f105ef0a9ae0621a75a8619421a/lib/sqlalchemy/pool/base.py#L782),
 and only bubbles up `InvalidatePoolError` (and `DisconnectionError` in 
general, which is a parent class) when that runs out. But still, some kind of 
back-off retry may be useful, especially since (if I understand the 
implementation correctly) SQLAlchemy retries the connection in quick 
succession, which I’m not sure is very useful.


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to