-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(relay): emit event when client connections are dropped #5869
base: master
Are you sure you want to change the base?
feat(relay): emit event when client connections are dropped #5869
Conversation
7f11002
to
1664632
Compare
ff5da99
to
961b273
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit about the changelog entry, rest LGTM.
Thanks @RolandSherwin!
bfd945b
to
8fc7efe
Compare
8fc7efe
to
4b4e462
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @RolandSherwin!
Ah sorry, metrics also needs version bump (only patch version though) and changelog entry. |
Description
When a relay server has no more connection with a reserved client, it would remove the reservation and the drop the circuits without any information passed to the server. It will be useful to for a server to track all its reservations and to know when they're removed (without keeping track of the connections themselves).
This PR aims to notify the server when a reservation closes, with the emission of the following event
Change checklist