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

Reason for reconnect? #85

Open
oreynaldocl opened this issue Jun 14, 2016 · 2 comments
Open

Reason for reconnect? #85

oreynaldocl opened this issue Jun 14, 2016 · 2 comments

Comments

@oreynaldocl
Copy link

Hello everyone, a question.
What are the reason for having a reconnected in DDP client?
Currently my app after open and close many parallel DDP client to the same DDP server it reconnects, why is it loosing the connection?
My DDP server doesn't crashes or show any error.
I am thinking about the overload with one DDP server, because each DDP client is subscribing and calling a method (depends the data).

There are some limit about having opened DDP client

@oreynaldocl
Copy link
Author

Other thing I am thinking is about the DDP client never release all resources.

@msolters
Copy link

msolters commented Aug 2, 2016

I've been seeing the exact same issue. I added a ddpclient.close() call inside my ddpclient's .disconnect callback, and then manually reconnect after that. Seems to be working so far.

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