Skip to content

Commit befc0e8

Browse files
fix: increase timeout for first perf ping
1 parent 71be1c5 commit befc0e8

File tree

1 file changed

+4
-1
lines changed
  • src/run/runner/wall_time/perf

1 file changed

+4
-1
lines changed

src/run/runner/wall_time/perf/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,11 @@ impl PerfRunner {
280280

281281
let perf_pid = OnceCell::new();
282282
loop {
283-
let perf_ping = tokio::time::timeout(Duration::from_secs(1), perf_fifo.ping()).await;
283+
let perf_ping =
284+
tokio::time::timeout(Duration::from_secs(perf_ping_timeout), perf_fifo.ping())
285+
.await;
284286
if let Ok(Err(_)) | Err(_) = perf_ping {
287+
debug!("Failed to ping perf FIFO, ending perf fifo loop");
285288
break;
286289
}
287290

0 commit comments

Comments
 (0)