-
Notifications
You must be signed in to change notification settings - Fork 565
Round delay in call_later() #236
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
Conversation
fantix
commented
Mar 17, 2019
•
edited
Loading
edited
- Write unit test.
- Make the test pass.
- Fixes Incorrect time calculation in loop.call_at() #233.
637ec91
to
784da49
Compare
If we want to respect the guarantee that the CB is called "no earlier than X", isn't ceil() more appropriate than round()? |
@jlaine replied in #233 (comment) |
Ok sorry for the duplicate message |
e81f90f
to
c486898
Compare
c486898
to
de6b915
Compare
So is the new test stable? |
Yeah I think so |
Alright, merged. Thank you! :) |
@fantix got this CI failure this morning: Could you please take another look at the test? Is it possible to make it any more reliable? If not, I suggest we relax it a bit or drop it. |
(or maybe we should go with @jlaine suggestion to use |
@1st1 |
Let's try it... Would the old code (without |
@1st1 the old code may probably succeed with this test at |
Alright, I pushed e3b00b8 |
Oh, thanks for that! 🙇 |