elixir-ecto / db_connection

Database connection behaviour
http://hexdocs.pm/db_connection/DBConnection.html
306 stars 113 forks source link

Fix `pool_size` should be equal or greater to 1 #301

Closed Dvogiatz closed 10 months ago

Dvogiatz commented 10 months ago

Hello, I've noticed that you are allowed to pass 0 or negative pool_size, which then creates connections instead of raising.

josevalim commented 10 months ago

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart: