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

after a hot code push, user isnt online till he hits hard refresh #4

Open
elie222 opened this issue Jul 23, 2015 · 10 comments
Open

after a hot code push, user isnt online till he hits hard refresh #4

elie222 opened this issue Jul 23, 2015 · 10 comments

Comments

@elie222
Copy link
Contributor

elie222 commented Jul 23, 2015

to reproduce:
load 2 windows with users logged in. 2 users are now showing as online

change some server side code. the server will now refresh.

check how many users are online. it will be 0. hit refresh again on one of the clients and itll go up to 1.

@rodrigok
Copy link
Contributor

I can't reproduce using https://github.com/Konecty/meteor-user-presence-example-chat

@elie222
Copy link
Contributor Author

elie222 commented Jul 25, 2015

Maybe it has something to do with me using meteor-cluster and making use of multiple cores.

@rodrigok
Copy link
Contributor

Probably, can you confirm? I don't know if this package works with meteor-cluster

@elie222
Copy link
Contributor Author

elie222 commented Jul 25, 2015

Well it seems to be working fine for me (in general). I have it running on
a production site using 2 cores.

The reason I even made the switch over to this package was the fact that
mizzao:user-status doesn't work using two servers (according to mizzao).
On 26 Jul 2015 1:01 am, "Rodrigo Nascimento" [email protected]
wrote:

Probably, can you confirm? I don't know if this package works with
meteor-cluster


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

@rodrigok
Copy link
Contributor

Yes, we've used the mizzao's package too but we had to make a lot of improvements so we created this one.

We made this package https://github.com/Konecty/meteor-multiple-instances-status to handle multiple server connections and handle user status if one of the servers dies.

So, we can close this issue? Or are you experiencing this problem yet?

@elie222
Copy link
Contributor Author

elie222 commented Jul 25, 2015

Still experiencing it, but since it works fine for you, it's other packages I'm using that are causing the problems. Close if you want.

@rodrigok
Copy link
Contributor

No, let's try to solve this problem.

You had tried to install this package https://github.com/Konecty/meteor-multiple-instances-status?

@elie222
Copy link
Contributor Author

elie222 commented Jul 25, 2015

Yeah. I have that and user presence installed. Plus meteorhacks:cluster.
I'm a bit busy at the moment but when I get a chance I'll try and reproduce
the problem on the demo app.
On 26 Jul 2015 1:48 am, "Rodrigo Nascimento" [email protected]
wrote:

No, let's try to solve this problem.

You had tried to install this package
https://github.com/Konecty/meteor-multiple-instances-status?


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

@rodrigok
Copy link
Contributor

Ok, let me know.

@hexsprite
Copy link

I'm thinking I might be seeing this problem as well. After I did a push to my app the number of connections in Kadira showed around 40 and my in-app connection count using this package was around 20.

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

3 participants