Replies: 1 comment 5 replies
-
Yes, you can do this in the disconnect handler. The monitoring is not for idle connections, by the way. It is for clients that stop responding to pings from the server. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When
monitor_clients
is set toTrue
(default), the docs say that a background monitoring task will close idle connections. Is there a way in the library for me to add a custom handler to be called when an idle connection is closed? I would like to clean up parts of my code that can't be attached to socket state directly.Beta Was this translation helpful? Give feedback.
All reactions