Skip to content

Commit

Permalink
adds pool size variable so the database can be edited from the comman…
Browse files Browse the repository at this point in the history
…d line without hitting max-pool size #40
  • Loading branch information
finnhodgkin committed Oct 31, 2017
1 parent 020ded7 commit ed24690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ config :library, Library.Repo,
adapter: Ecto.Adapters.Postgres,
url: System.get_env("DATABASE_URL"),
database: "library_prod",
pool_size: 20
pool_size: System.get_env("POOL_SIZE")

0 comments on commit ed24690

Please sign in to comment.