You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did not find this in the documentation, but it would be great if we could specify a maximum connection age so that connections are terminated and new ones are started after some time.
The text was updated successfully, but these errors were encountered:
One can achieve this by sending a message to self after X seconds. When this message arrives, :stop and the GenServer (considering you are using a GenServer) will terminate. Poolboy will start a new server. Would this solve your problem?
This seems like it would solve my problem, but the pool object itself is being managed by ecto, I don't know if I'm able to even figure out the correct pids to send messages to.
I did not find this in the documentation, but it would be great if we could specify a maximum connection age so that connections are terminated and new ones are started after some time.
The text was updated successfully, but these errors were encountered: