Skip to content

Commit

Permalink
Enable persistent DB connections
Browse files Browse the repository at this point in the history
  • Loading branch information
friedelwolff committed Jun 21, 2024
1 parent 4729e27 commit 1037176
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@
"USER": os.environ.get("DB_USER"),
"PASSWORD": os.environ.get("DB_PASSWORD"),
"TEST": {"NAME": "test_db"},
"CONN_MAX_AGE": None,
"CONN_HEALTH_CHECKS": True,
}
}

Expand Down

0 comments on commit 1037176

Please sign in to comment.