Today I Learned

hashrocket A Hashrocket project

About setting pool_size with prod.secret.exs

Setting a pool_size for your database connection in Phoenix used to mean having something like this

config :my_app, MyApp.Repo,
    pool_size: 10

But with prod.secret.exs now using environment variables, the Phoenix default of 10 is only set when you don't have an environment variable of POOL_SIZE set.

See More #elixir TILs
Looking for help? At Hashrocket, we 💜 Elixir! From our many Elixir client projects, to sponsoring the Chicago Elixir Meetup, to the source code for this application, we are invested in this community. Contact us today to talk about your Elixir project.