mirror of
https://github.com/openai/codex.git
synced 2026-11-06 20:20:34 +00:00
Update exec.rs
This commit is contained in:
@@ -666,7 +666,7 @@ async fn consume_truncated_output(
|
||||
// That would cause the `read_capped` tasks to block on `read()`
|
||||
// indefinitely, effectively hanging the whole agent.
|
||||
|
||||
const IO_DRAIN_TIMEOUT_MS: u64 = 2_000; // 2 s should be plenty for local pipes
|
||||
const IO_DRAIN_TIMEOUT_MS: u64 = 10;
|
||||
|
||||
// We need mutable bindings so we can `abort()` them on timeout.
|
||||
use tokio::task::JoinHandle;
|
||||
|
||||
Reference in New Issue
Block a user