-
Notifications
You must be signed in to change notification settings - Fork 339
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
future::timeout
panics when provided with large timeouts
#1037
Comments
It seems like this was fixed upstream in async-io - smol-rs/async-io#87 - pending a release of that crate. |
With the newest release of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
async_std::future::timeout
function panics if a large duration is provided. This should either be documented as a possible panic conditon or changed to no longer panic.Repro:
Looks like the cause is an unchecked add in smol: https://github.com/smol-rs/async-io/blob/master/src/lib.rs#L162
The text was updated successfully, but these errors were encountered: