Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Simulator locking - Need to check browser clock accuracy #15

Open
rpeach-sag opened this issue Mar 19, 2020 · 1 comment
Open

Simulator locking - Need to check browser clock accuracy #15

rpeach-sag opened this issue Mar 19, 2020 · 1 comment
Labels
enhancement New feature or request low priority

Comments

@rpeach-sag
Copy link
Contributor

We seem to have an issue where computer clocks are not synchronised....

Solution:

  • get the time from the server
  • compare to the local time
  • store the offset
  • add the offset to the local time before we send any times to the server
  • Periodically update the offset (every 5mins?)

Potential issues with solution:

  • The offset also contains the latency from the initial server call
  • Hopefully this isn't too much of an issue because every user's offset will have a similar latency included (hopefully similar latencies, never anywhere near 5 seconds)
@rpeach-sag rpeach-sag added bug Something isn't working enhancement New feature or request labels Mar 19, 2020
@rpeach-sag
Copy link
Contributor Author

I suspect that this was actually the issue: #24

@rpeach-sag rpeach-sag added low priority and removed bug Something isn't working labels Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

1 participant