Skip to content

Commit

Permalink
Fix typo (apache#28623)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Dec 28, 2022
1 parent 5dcbbd6 commit 4f7ac62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/utils/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,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)
Expand Down

0 comments on commit 4f7ac62

Please sign in to comment.