mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
Fix millis (#1960)
This commit is contained in:
@@ -1020,7 +1020,7 @@ mod fns {
|
|||||||
|
|
||||||
if let Some(timeout) = timeout {
|
if let Some(timeout) = timeout {
|
||||||
tokio::spawn(async move {
|
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
|
if let Err(err) = rpc_client
|
||||||
.request(SendSignal, SendSignalParams { pid, signal: 9 })
|
.request(SendSignal, SendSignalParams { pid, signal: 9 })
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user