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

input flags are received multiple times. Investigate whether it is a problem. #65

Open
bheijden opened this issue Feb 4, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@bheijden
Copy link
Member

bheijden commented Feb 4, 2022

A previous solution was to change line flag = flag.pipe(spy(flag_name, node)) to flag = flag.pipe(spy(flag_name, node), ops.take(1), ops.merge(rx.never())) in the function init_channels(...). However, this sometimes deadlocks the environment during the reset right after all pipelines are initialized, as one of the nodes does not receive the input flags, even though they were send.

Adding line flag.pipe(spy(f'sub_{flag_name}', node)).subscribe(print) right before flag = flag.pipe(spy(flag_name, node), ops.take(1), ops.merge(rx.never())) demonstrates that flags are still received, but not cannot pass through the ops.take(1).

@bheijden bheijden added the bug Something isn't working label Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant