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

Data sync issue #51

Closed
vinayk047 opened this issue Jan 24, 2018 · 3 comments
Closed

Data sync issue #51

vinayk047 opened this issue Jan 24, 2018 · 3 comments

Comments

@vinayk047
Copy link

I've following network setup

screen shot 2018-01-24 at 3 57 18 pm

1. If i update model A & E at same time than only changes of model A are propagated in network
check following image

screen shot 2018-01-24 at 4 01 16 pm

2. If u update model E after few seconds than the changes are propagated in network; check following image.

screen shot 2018-01-24 at 4 03 41 pm

is this normal behaviour or a bug?

@dominictarr
Copy link
Owner

yes this is correct behaviour

@dominictarr
Copy link
Owner

oh sorry, you are connecting these streams wrong!

you cannot pipe as to bs AND pipe cs to bs. you should use each stream only once!
bs should actually be bs1 bs2 bs3

as = a.createStream()
bs1 = b.createStream()
bs2 = b.createStream()
cs = c.createStream()
as.pipe(bs1).pipe(as)
cs.pipe(bs2).pipe(cs)
//etc...

@vinayk047
Copy link
Author

@dominictarr, Ahh ok.
thank you for the answer and a awesome module.

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

No branches or pull requests

2 participants