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

Dropped subscriptions when computer goes to sleep #63

Closed
bradvogel opened this issue Sep 19, 2014 · 3 comments
Closed

Dropped subscriptions when computer goes to sleep #63

bradvogel opened this issue Sep 19, 2014 · 3 comments

Comments

@bradvogel
Copy link

After installing fastrender 1.1.0, I began to notice that some of my Meteor subscriptions would no longer work. It would typically occur when my Meteor app was up while the computer went to sleep - when it awoke after some time later I'd realize that my local collections would be empty. Meteor.call() methods would also not work. However, Meteor.status() would say that it was connected.

Unfortunately I don't have an isolated test case for you. I'm pretty sure it was fastrender because I exhaustively tested the app after removing each package, and after removing those it suddenly worked.

Not sure how helpful this is. Something to keep an eye on though.

@bradvogel
Copy link
Author

If it helps, I recall trying fastrender pre-Meteor 0.9 and didn't have any issues. So Meteor 0.9 might have caused an issue.

@arunoda
Copy link
Contributor

arunoda commented Sep 19, 2014

Okay. That's might possible with some internal. I'll check.


Arunoda Susiripala
I curate Meteor Weekly - Check it out!
http://meteorhacks.com/meteor-weekly/?utm_source=email-footer&utm_medium=email&utm_campaign=meteorweekly

On Fri, Sep 19, 2014 at 12:43 PM, Brad Vogel notifications@github.com
wrote:

If it helps, I recall trying fastrender pre-Meteor 0.9 and didn't have any
issues. So Meteor 0.9 might have caused an issue.


Reply to this email directly or view it on GitHub
#63 (comment)
.

@bradvogel
Copy link
Author

I think I figured out what was going on. I was hacking Meteor._localStorage to support multiple logged in users (in different windows, but same URL). This didn't work with fastRender because it sets the logged in user using the cookie. Sorry for the trouble!

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