-
Notifications
You must be signed in to change notification settings - Fork 26
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
Using this package when running multiple instances #17
Comments
hi @elie222 it is ok to call it once in multiple servers. |
It seems to be a very high drain on resources though. When you're talking
|
So here are the results, that I find a little strange. I had What I don't understand is, how did running |
hi @elie222 thanks for writing back. we did a look into the code and some questions came up:
also, it shouldn't hang on 100% CPU if you are using the |
Is this still happening? |
So my app is fine these days. I think the big change I made was I would be interested to see how this package works with thousands of On 10 Sep 2016 03:35, "Rodrigo Nascimento" notifications@github.com wrote:
|
@elie222 It's working great for Rocket.Chat now, but we don't have installations with thousands of online users at the same time. |
@sampaiodiego @rodrigok @elie222 This sounds pretty much like the problem we are facing. I am surprised, that no one ever came across this issue with Rocket.Chat before. |
I've been reading through the code for this package and I just realised that the following code:
UserPresenceMonitor.start();
should only be called once. Is that correct? I have 40 or so servers oberving this info when one would be enough! If this is true, the docs need to be updated to be more clear on this.
The text was updated successfully, but these errors were encountered: