Avoid blocking thread sleep in async functions
std::thread::sleep blocks the executor thread inside async code.
#Metadata
#Why it matters
`std::thread::sleep` blocks the current OS thread. Inside `async fn` this stalls the runtime worker and harms throughput. Prefer `tokio::time::sleep` instead.
#Remediation
Use `tokio::time::sleep` or move blocking work to `spawn_blocking`.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/rust/rust.correctness.thread-sleep-in-async.rule.yaml.