mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Greatly increase timeouts
This commit is contained in:
parent
8b44b0ed0a
commit
d5215e38ed
1 changed files with 3 additions and 1 deletions
|
@ -104,7 +104,9 @@ if config_env() != :test do
|
||||||
# Database config
|
# Database config
|
||||||
config :philomena, Philomena.Repo,
|
config :philomena, Philomena.Repo,
|
||||||
url: System.fetch_env!("DATABASE_URL"),
|
url: System.fetch_env!("DATABASE_URL"),
|
||||||
pool_size: String.to_integer(System.get_env("POOL_SIZE", "16"))
|
pool_size: String.to_integer(System.get_env("POOL_SIZE", "16")),
|
||||||
|
timeout: 60_000,
|
||||||
|
ownership_timeout: 60_000
|
||||||
end
|
end
|
||||||
|
|
||||||
if config_env() == :prod do
|
if config_env() == :prod do
|
||||||
|
|
Loading…
Reference in a new issue