Skip to content

Commit

Permalink
Merge branch 'dev' into dependabot/npm_and_yarn/assets/cross-spawn-7.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jairoanaya authored Jan 27, 2025
2 parents 6c8e45d + bf2e39f commit 823b429
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
- [ ] If you have DB migration, it is a "safe" migration and you've confirmed it can be rolled back.
- [ ] If applicable, Controllers modified contain appropriate authorization plugs
- [ ] This PR has been reviewed by at least one other team member.
- [ ] Build has been approved for deployment in CircleCI.

9 changes: 8 additions & 1 deletion config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ config :challenge_gov, Web.Endpoint,

config :challenge_gov, ChallengeGov.Repo,
url: System.get_env("DATABASE_URL"),
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "15"),
ssl: true,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "20"),
# Increase the target wait time
queue_target: 5000,
# Adjust interval for waiting for available connections
queue_interval: 1000,
# Adjust the connection timeout as needed
timeout: 15000,
loggers: [{LoggerJSON.Ecto, :log, [:info]}]

# Do not print debug messages in production
Expand Down

0 comments on commit 823b429

Please sign in to comment.