You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/01/11 21:26:04 UTC
[airflow] 23/27: Fix typo (#28623)
This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v2-5-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit a2d86ea22d29788ca85216bbdc5a7d46eff41001
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Thu Dec 29 01:44:52 2022 +1000
Fix typo (#28623)
(cherry picked from commit 4f7ac623c881ae0d5304d6a9d57e3e0f2aa65865)
---
airflow/utils/db.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/utils/db.py b/airflow/utils/db.py
index 8f8e0437ba..8f22bc1dfb 100644
--- a/airflow/utils/db.py
+++ b/airflow/utils/db.py
@@ -1570,7 +1570,7 @@ def upgradedb(
log.info("Creating tables")
val = os.environ.get("AIRFLOW__DATABASE__SQL_ALCHEMY_MAX_SIZE")
try:
- # Reconfigure the ORM ot use _EXACTLY_ one connection, otherwise some db engines hang forever
+ # Reconfigure the ORM to use _EXACTLY_ one connection, otherwise some db engines hang forever
# trying to ALTER TABLEs
os.environ["AIRFLOW__DATABASE__SQL_ALCHEMY_MAX_SIZE"] = "1"
settings.reconfigure_orm(pool_class=sqlalchemy.pool.SingletonThreadPool)