mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
Fix millis (#1960)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user