Fix millis (#1960)

This commit is contained in:
J M
2022-11-21 15:21:09 -07:00
committed by Aiden McClelland
parent 35cb81518c
commit be9db47276

View File

@@ -1020,7 +1020,7 @@ mod fns {
if let Some(timeout) = timeout {
tokio::spawn(async move {
tokio::time::sleep(Duration::from_micros(timeout)).await;
tokio::time::sleep(Duration::from_millis(timeout)).await;
if let Err(err) = rpc_client
.request(SendSignal, SendSignalParams { pid, signal: 9 })
.await