ephraimbuddy commented on code in PR #49392:
URL: https://github.com/apache/airflow/pull/49392#discussion_r2204001322
##########
airflow-core/src/airflow/settings.py:
##########
@@ -346,19 +361,24 @@ def configure_orm(disable_connection_pool=False,
pool_class=None):
log.debug("Setting up DB connection pool (PID %s)", os.getpid())
engine_args = prepare_engine_args(disable_connection_pool, pool_class)
- if conf.has_option("database", "sql_alchemy_connect_args"):
- connect_args = conf.getimport("database", "sql_alchemy_connect_args")
- else:
- connect_args = {}
-
+ connect_args = _get_connect_args("sync")
Review Comment:
If we have hardcoded `sync` here, how do we get `async` args? Also the
prepare_engine_args seems to be only for sync?
--
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]