How to manage connections? #1909
-
Can a client drop all connections in the connection pool? I have a use case where I need to periodically change connections because the server doesn't handle long-lived connections well. Or is there any way I can achieve this? |
Beta Was this translation helpful? Give feedback.
Answered by
seanmonstar
Jul 19, 2023
Replies: 1 comment 1 reply
-
There isn't a mechanism to close all idle connections, currently. You could set the idle timeout to something low. You could drop the client and create a new one. Or with a proposal and then code, we could get such an API added. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
x1957
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There isn't a mechanism to close all idle connections, currently. You could set the idle timeout to something low. You could drop the client and create a new one.
Or with a proposal and then code, we could get such an API added.