ecto_job icon indicating copy to clipboard operation
ecto_job copied to clipboard

Add to documentation used connections

Open VitorTrin opened this issue 4 years ago • 2 comments

Our application was using more connections than what we configured for our Repo. We later found out that every job queue uses an exclusive connection, and that caused the strange number of connections.

Somewhere in the documentation it should explained that usage of connections so the user can understand the behaviour of his application.

VitorTrin avatar Feb 28 '20 16:02 VitorTrin

Yes the Postgrex.Notifications listener consumes a DB connection that isn't from the Repo pool.

Where would you expect to see such information? Perhaps in the https://github.com/mbuhot/ecto_job#how-it-works section of the readme?

mbuhot avatar Mar 02 '20 07:03 mbuhot

Yeah, it seems to be the ideal place.

VitorTrin avatar Mar 02 '20 13:03 VitorTrin