increase db timeout

This commit is contained in:
Tao Bror Bojlén 2019-08-07 12:41:30 +03:00
parent e4f98a2b2f
commit c01e324e91
No known key found for this signature in database
GPG key ID: C6EC7AAB905F9E6F
2 changed files with 3 additions and 1 deletions

View file

@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed broken instance view on mobile devices.
- Increased database connection timeout - required as the database grows!
### Security

View file

@ -1,7 +1,8 @@
defmodule Backend.Repo do
use Ecto.Repo,
otp_app: :backend,
adapter: Ecto.Adapters.Postgres
adapter: Ecto.Adapters.Postgres,
timeout: 25_000
use Paginator