Skip to content

Commit 32cd4ff

Browse files
committed
fix: match timeout spec
1 parent c278189 commit 32cd4ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/client/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub async fn inject(
7575
let ipc_addr = create_ipc_addr(pid, module_handle);
7676

7777
let connect = IpcClientConn::new(ClientOptions::new().open(ipc_addr)?);
78-
let timeout = sleep(timeout.unwrap_or(Duration::from_secs(10)));
78+
let timeout = sleep(timeout.unwrap_or(Duration::MAX));
7979
let conn = select! {
8080
res = connect => res?,
8181
_ = timeout => bail!("ipc client wait timeout"),

0 commit comments

Comments
 (0)