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

fix(p2p): cleanup sessions when they are canceled #419

Merged
merged 2 commits into from
Oct 25, 2022
Merged

Conversation

dignifiedquire
Copy link
Contributor

No description provided.

@b5 b5 added this to the v0.1.0 milestone Oct 25, 2022
}

// Only do a small chunk of cleanup on each iteration
if to_remove.len() >= 10 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we just have a comment that this is another magic number. I really want to pull all of these out after release.

@Arqu Arqu merged commit efa9e82 into main Oct 25, 2022
@Arqu Arqu deleted the session-cleanup branch October 25, 2022 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants