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

refactor(iroh-net): store a single pong #1601

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

divagant-martian
Copy link
Contributor

@divagant-martian divagant-martian commented Oct 9, 2023

Description

There seems to be no reason why we should store more than one PongReply since only the last is ever used

Notes & open questions

If at some point we do need to check back on pong history this can be easily done with a VecDeque

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.

Copy link
Contributor

@dignifiedquire dignifiedquire left a comment

Choose a reason for hiding this comment

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

lgtm for now, if we ever need more we can add them back

@divagant-martian divagant-martian added this pull request to the merge queue Oct 9, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 9, 2023
@divagant-martian divagant-martian added this pull request to the merge queue Oct 9, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 9, 2023
@divagant-martian divagant-martian added this pull request to the merge queue Oct 9, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 9, 2023
@dignifiedquire dignifiedquire added this pull request to the merge queue Oct 10, 2023
Merged via the queue into n0-computer:main with commit 0d17e81 Oct 10, 2023
15 checks passed
@b5 b5 added this to the v0.7.0 milestone Oct 11, 2023
@divagant-martian divagant-martian deleted the pong-cleanup branch December 10, 2023 02:54
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