You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ephraimbuddy (via GitHub)" <gi...@apache.org> on 2025/07/14 07:07:25 UTC

Re: [PR] Introduce a separate config for async db flags [airflow]

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org