Skip to content

Fix excessive buffering in stream stages#952

Merged
josephnoir merged 1 commit intomasterfrom
topic/stream-buffering
Oct 28, 2019
Merged

Fix excessive buffering in stream stages#952
josephnoir merged 1 commit intomasterfrom
topic/stream-buffering

Conversation

@Neverlord
Copy link
Copy Markdown
Member

By not considering how many items are currently buffered at a stage, CAF happily hands out infinite credit to upstream stages. By restricting the maximum capacity we communicate upstream by the number of currently cached elements, we achieve the correct behavior.

By not considering how many items are currently buffered at a stage, CAF
happily hands out infinite credit to upstream stages. By restricting the
maximum capacity we communicate upstream by the number of currently
cached elements, we achieve the correct behavior.
@Neverlord Neverlord added this to the 0.17.3 milestone Oct 28, 2019
@Neverlord Neverlord requested a review from josephnoir October 28, 2019 15:59
@josephnoir josephnoir merged commit c31c098 into master Oct 28, 2019
@josephnoir josephnoir deleted the topic/stream-buffering branch October 28, 2019 17:05
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