epgsql / pgapp

Erlang Postgres application that uses Poolboy and deals with the database being unavailable
MIT License
66 stars 42 forks source link

Kill workers that are stuck in long running queires #21

Closed Licenser closed 2 months ago

Licenser commented 7 years ago

This PR take a brutal approach at assassinating workers that happen to time out due to long running requests! This might not be the perfect solution, I'm more then open to better alternatives.

This is fixes the issue described in #20

Please be aware that as a side effect it includes hex related changes.

Licenser commented 7 years ago

very good points!