Skip to content

Fix streaming of queued records in stream observer #222

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

Merged
merged 1 commit into from
Mar 22, 2017

Conversation

lutovich
Copy link
Contributor

StreamObserver memorizes all incoming records when it does not have a subscriber to forward records to. Later when such subscriber appears it receives all queued records in on go.

This functionality did not work properly because of a missing this which resulted in access to an undefined variable. This PR fixes the problem and adds some tests.

Fixes #221

`StreamObserver` memorizes all incoming records when it does not have a
subscriber to forward records to. Later when such subscriber appears
it receives all queued records in on go.

This functionality did not work properly because of a missing `this`
which resulted in access to an undefined variable. This commit fixes
the problem and adds some tests.
@zhenlineo zhenlineo merged commit faca37c into neo4j:1.2 Mar 22, 2017
@lutovich lutovich deleted the 1.2-queued-records-streaming branch March 22, 2017 15:00
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