nushell/crates/nu-command
YizhePKU f8c1e03ea7
Fix inaccurate sleep duration (#12235)
# Description
Improves the accuracy of sleep when the duration is larger than 100ms.
Fixes #12223.

# User-Facing Changes
Sleeping for 150ms should work now.

```nushell
~/nushell> timeit { sleep 150ms }                                                                                                                                          03/19/2024 10:41:55 AM AM
151ms 344µs 201ns
```
2024-03-20 16:45:33 +08:00
..
src Fix inaccurate sleep duration (#12235) 2024-03-20 16:45:33 +08:00
tests Adjust permissions using umask in mkdir (#12207) 2024-03-14 16:43:42 -05:00
Cargo.toml Adjust permissions using umask in mkdir (#12207) 2024-03-14 16:43:42 -05:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00