potiuk commented on PR #61379:
URL: https://github.com/apache/airflow/pull/61379#issuecomment-3983949915
This seem to be already fixed differently in main.
```
if register_at_fork := getattr(os, "register_at_fork", None):
#
https://docs.sqlalchemy.org/en/20/core/pooling.html#using-connection-pools-with-multiprocessing-or-os-fork
def clean_in_fork():
_globals = globals()
if engine := _globals.get("engine"):
engine.dispose(close=False)
if async_engine := _globals.get("async_engine"):
async_engine.sync_engine.dispose(close=False)
```
--
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]