Skip to content

Conversation

@jxs
Copy link
Member

@jxs jxs commented Feb 2, 2024

Consider the following scenario:

ConnectionHandler is slow transfering a message, therefore messages accumulate. These messages timeout may elapse and fill the queue, but ConnectionHandler will only discard them when reading the next message to send from the queue.
This PR helps ease that situation by reading the next message when ConnectionHandler is polled and discarding it if its timeout has elapsed.

to be able to Peek next message without dropping it
@jxs jxs force-pushed the drop-gossipsub-stale-messages branch from 15ddd5f to cb33247 Compare February 10, 2024 20:59
@jxs
Copy link
Member Author

jxs commented Feb 14, 2024

@mergify queue

@mergify
Copy link

mergify bot commented Feb 14, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 256d904

mergify bot added a commit that referenced this pull request Feb 14, 2024
@michaelsproul michaelsproul added the ready-for-merge This PR is ready to merge. label Feb 15, 2024
@mergify mergify bot merged commit 256d904 into sigp:unstable Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge This PR is ready to merge. v5.0.0 Q1 2024

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants