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

Clock discrepancy detected. Attempting re-sync. #29

Closed
aessig opened this issue Jul 20, 2016 · 5 comments
Closed

Clock discrepancy detected. Attempting re-sync. #29

aessig opened this issue Jul 20, 2016 · 5 comments

Comments

@aessig
Copy link

aessig commented Jul 20, 2016

Hello, thank you very much for this great package ! I have this log all the time in my client’s console. Is there a way to mute clients logging in the package? The issue is known and come from setInterval, as mentioned here.

@francocatena
Copy link
Owner

Hi @aessig,

Love to hear that you like the package.

That log appears only if you use mizzao:timesync (in fact, is done here). If you want to mute it, I think the only option is to set TimeSync.loggingEnabled to false as suggested in the issue you pointed to.

Cheers.

@aessig
Copy link
Author

aessig commented Sep 28, 2016

Thanks 👍

@francocatena
Copy link
Owner

You're welcome =)

@anormore
Copy link

anormore commented May 1, 2017

Sorry to re-open,

How can I hook in to this setting, and show users "Re-Syncing"?

I have a game (www.StarCommanderOnline.com), if users leave the tab open for a long time, it un-syncs. Right now I manually reload their page after 3 minutes of inactivity, and coming back to the tab.

But now I understand they are unsynced, how can I show an icon on their screen to say "We're re-syncing your client"?

@anormore
Copy link

anormore commented May 1, 2017

SORRY nevermind, I'm here from a different package that uses this. Beautiful package, works great. Now users know what's going on with their connection. WONDERFUL. :) 👍

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