Skip to content

Conversation

@bigmontz
Copy link
Contributor

@bigmontz bigmontz commented Feb 4, 2022

The previous implemenation only controls the flow while is iterating over the records, but if the interation
is done in a really low pace, the control flow method won't be called in time for pausing the flow.

Changing the flow control for observing the queue size instead of check on each time it iterates solve this issue.

The previous implemenation only controls the flow while is iterating over the records, but if the interation
is done in a really low pace, the control flow method won't be called in time for pausing the flow.

Changing the flow control for observing the queue size instead of check on each time it iterates solve this issue.
Copy link
Member

@robsdedude robsdedude left a comment

Choose a reason for hiding this comment

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

🌊

@bigmontz bigmontz merged commit 79e3895 into neo4j:5.0 Feb 8, 2022
@bigmontz bigmontz deleted the 5.0-control-async-flow-when-not-iterating branch February 8, 2022 10:57
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