Skip to content

Commit 689210e

Browse files
feat: reduce shared fifo timeout to end executor runs faster after the program has ended
1 parent 195606a commit 689210e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/executor/shared/fifo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ impl RunnerFifo {
147147
break;
148148
}
149149

150-
let result = tokio::time::timeout(Duration::from_secs(5), self.recv_cmd()).await;
150+
let result = tokio::time::timeout(Duration::from_secs(1), self.recv_cmd()).await;
151151
let cmd = match result {
152152
Ok(Ok(cmd)) => cmd,
153153
Ok(Err(e)) => {

0 commit comments

Comments
 (0)