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

Remove PeerId from connection task name #1339

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Nov 15, 2023

Currently, the task name of a networking connection contains the PeerId.
This might be convenient, except that at the time when we spawn the task we can't be sure that the target actually has this PeerId. If it turns out that their identity is different, we will continue running the task but it will have a bad name.
Since it's not possible to rename tasks (and clearly not worth the effort of making it possible), this PR simply removes the PeerId from task names.

@tomaka tomaka added this pull request to the merge queue Nov 15, 2023
Merged via the queue into smol-dot:main with commit 6d10d1a Nov 15, 2023
@tomaka tomaka deleted the connec-task-name branch November 15, 2023 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant