Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat(spooler): Add ability to partition the buffer into multiple ones #4291
feat(spooler): Add ability to partition the buffer into multiple ones #4291
Changes from 9 commits
fb8882d
71fcbca
d35658b
669143a
d804d6e
a9fe427
fec356a
6444b93
d9549cd
1366b67
e1ab41d
0d680aa
8fd4a2b
5ebb0f6
2be6c60
bfbb237
3b2490d
e8ee1cf
d4cfdbb
d59258b
dd642cd
d0c364a
73cea7d
006cc1e
4eedbe0
0bc2873
29e69fc
ff6b736
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I would still call this field
envelope_buffer
, the use does not really care whether it partitions internally or not.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would change the interface of
PartitionedEnvelopeBuffer
to behave roughly likeObservableEnvelopeBuffer
behaved before. I.e. give it asend(..)
and ahas_capacity()
method, but not expose internals about partitioning.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about this when designing the API, but it conflicted with how we access the buffer in the
queue_envelope
. I wanted to keep that logic like it is right now.