We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df77232 commit 48bc34dCopy full SHA for 48bc34d
lib/db_connection/connection_pool.ex
@@ -6,6 +6,11 @@ defmodule DBConnection.ConnectionPool do
6
7
You're not supposed to call any functions on this pool directly, but only pass this
8
as the value of the `:pool` option in functions such as `DBConnection.start_link/2`.
9
+
10
+ `disconnect_all/3`, which by default will result in connections being
11
+ reestablished, can be called periodically to recycle checked-in connections
12
+ after a maximum lifetime is reached. `Ecto SQL` users may find it at
13
+ https://hexdocs.pm/ecto_sql/Ecto.Adapters.SQL.html#disconnect_all/3
14
"""
15
16
use GenServer
0 commit comments