Skip to content
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

Implement finalizers to support cleaning up the port mapping #2

Open
MOZGIII opened this issue Feb 21, 2021 · 0 comments
Open

Implement finalizers to support cleaning up the port mapping #2

MOZGIII opened this issue Feb 21, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MOZGIII
Copy link
Owner

MOZGIII commented Feb 21, 2021

Currently, we rely on port mapping to simply expire after the lifetime passes when we don't renew them in time.
It is possible to add finalizers and clear port maps manually during the finalizer handling routine. This will allow using longer lifetimes, and reduce chatter with the PCP server.

@MOZGIII MOZGIII added the enhancement New feature or request label Feb 21, 2021
@MOZGIII MOZGIII self-assigned this Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant