Skip to content

Commit

Permalink
Increase the statement timeout to 60s (#223)
Browse files Browse the repository at this point in the history
* Increase the statement timeout to 60s

* Bump patch version
  • Loading branch information
annaCPR authored Oct 3, 2024
1 parent 1c214a5 commit e027a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# This used by db-client and alembic script for migrations
os.environ["DATABASE_URL"] = SQLALCHEMY_DATABASE_URI

STATEMENT_TIMEOUT = os.getenv("STATEMENT_TIMEOUT", 10000) # ms
STATEMENT_TIMEOUT = os.getenv("STATEMENT_TIMEOUT", 60000) # ms
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "admin_backend"
version = "2.16.0"
version = "2.16.1"
description = ""
authors = ["CPR-dev-team <[email protected]>"]
packages = [{ include = "app" }, { include = "tests" }]
Expand Down

0 comments on commit e027a72

Please sign in to comment.