Skip to content

Commit

Permalink
Merge branch 'dev' into dependabot/npm_and_yarn/assets/nanoid-3.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jairoanaya authored Jan 27, 2025
2 parents 7add6d8 + bf217ba commit 11343d0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
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.

6 changes: 3 additions & 3 deletions assets/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1765,9 +1765,9 @@ core-util-is@~1.0.0:
integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==

cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
version "7.0.6"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f"
integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
dependencies:
path-key "^3.1.0"
shebang-command "^2.0.0"
Expand Down
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 11343d0

Please sign in to comment.