-
Notifications
You must be signed in to change notification settings - Fork 124
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
subtract out of bounds #586
Comments
I believe that the source of this is different clocks on server and client. When |
@pierd What do you think are the odds of getting synchronised clocks in? I'm not confident, so I'm thinking we should just hack around this by using a saturating subtract so that it doesn't panic. |
@philpax clock sync is not that complex (but not trivial to get right) but the list is just getting longer so I wouldn't bet on it. I agree - we should make it not crash first even if we get potential glitches (in theory we got them already anyway). |
There's really no downside to saturating sub in this case. |
The text was updated successfully, but these errors were encountered: