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

Fixed dequeuing of incoming queue #1319

Merged
merged 2 commits into from
Feb 13, 2024
Merged

Conversation

jscarle
Copy link
Contributor

@jscarle jscarle commented Feb 13, 2024

Fixed the dequeueing of the _incoming queue following #1207 and added the related test to protect against future regressions.

@jscarle jscarle changed the title Fixed dequeueing of incoming queue Fixed dequeuing of incoming queue Feb 13, 2024
@jscarle jscarle reopened this Feb 13, 2024
@jscarle
Copy link
Contributor Author

jscarle commented Feb 13, 2024

@WojciechNagorski Following @Rob-Hague 's observation in #1207, there is indeed an issue where the incoming queue may not dequeue at the same rate as the expect queue if the data that has not been processed exceeds the size of the expect buffer. An improbable case, but nonetheless, this PR fixes that.

@jscarle
Copy link
Contributor Author

jscarle commented Feb 13, 2024

Additionally, I made sure that the full incoming queue is returned when Expect matches and not just the expected queue.

@jscarle
Copy link
Contributor Author

jscarle commented Feb 13, 2024

@WojciechNagorski @Rob-Hague This is ready to be merged.

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.

2 participants