You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.
For example, the following code may or may not terminate.
let timer = wheel().tick_duration(Duration::new(0,100_000)).build();
timer.sleep(Duration::from_millis(10)).wait().unwrap();
I suspect the problem is that the tick duration is rounded up to the next full ms for the wheel, but not for the tolerance, so the worker can unpark the task for the timer before it's ready to fire.
The solution may just be to disallow invalid tick durations.
The text was updated successfully, but these errors were encountered:
For example, the following code may or may not terminate.
I suspect the problem is that the tick duration is rounded up to the next full ms for the wheel, but not for the tolerance, so the worker can unpark the task for the timer before it's ready to fire.
The solution may just be to disallow invalid tick durations.
The text was updated successfully, but these errors were encountered: