# PgbConnectionReaper
Library to trigger periodic disconnection for Elixir apps using pgbouncer, so that pgbouncer pods on k8s
can gracefully shut down, once all client disconnected and reconnected to healthy pods.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `pgb_connection_monitor` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:pgb_connection_reaper, "~> 0.1.3"}
]
end
```
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at <https://hexdocs.pm/pgb_connection_reaper>.