Skip to content

Commit

Permalink
Update syntax for setting statement timeout in sqlalchemy connection
Browse files Browse the repository at this point in the history
  • Loading branch information
leothomas committed Nov 20, 2023
1 parent c394584 commit ee5bd3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cerulean_cloud/database_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_engine(db_url: str = os.getenv("DB_URL")):
return create_async_engine(
db_url,
echo=False,
connect_args={"options": f"-c statement_timeout={1000 * 60}"},
connect_args={"satement_timeout": 1000 * 60},
)


Expand Down

0 comments on commit ee5bd3e

Please sign in to comment.