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

A lot of websocket connection #25

Open
kizup opened this issue Oct 11, 2017 · 1 comment
Open

A lot of websocket connection #25

kizup opened this issue Oct 11, 2017 · 1 comment

Comments

@kizup
Copy link

kizup commented Oct 11, 2017

In your implementation on each subscribe creates a new websocket connection. Do you fix this?

@jacek-marchwicki
Copy link
Owner

jacek-marchwicki commented Oct 11, 2017

This is expected behavior. If you don't want to have multiple connections you should use .replay(1).refCount() or just .replay().refCount() It depends on your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants