Skip to content

Commit

Permalink
Increase db timeout to 90s
Browse files Browse the repository at this point in the history
  • Loading branch information
Jongmassey committed Jan 2, 2025
1 parent 89f96a2 commit 3b69eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencodelists/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def get_env_var(name):
"default": dj_database_url.parse(
os.environ.get("DATABASE_URL", default="sqlite:///db.sqlite3")
),
"OPTIONS": {"timeout": 45},
"OPTIONS": {"timeout": 90},
}

DATABASE_DIR = Path(os.environ.get("DATABASE_DIR", default=BASE_DIR))
Expand Down

0 comments on commit 3b69eb2

Please sign in to comment.