mirror of
https://github.com/openai/codex.git
synced 2026-11-18 15:01:48 +00:00
Raise the Windows exec yield floor to 10 seconds (#35670)
## What changed - Clamp the initial `exec_command` yield time to at least 10 seconds on Windows. - Update the tool description and unit coverage for the new effective range. - Allow the Windows Ctrl-C integration test up to 20 seconds to complete. GitOrigin-RevId: 65d4d1c9a89dc9979e10d3e565af61c9f632c058
This commit is contained in:
1 parent
bbb92457b0
commit
fd41e813cb
5 files changed
+16
-6
No files matched your search
@@ -62,7 +62,7 @@ pub(crate) use process::SpawnLifecycleHandle;
|
||||
pub(crate) use process::UnifiedExecProcess;
|
||||
|
||||
pub(crate) const MIN_YIELD_TIME_MS: u64 = 250;
|
||||
pub(crate) const WINDOWS_INITIAL_EXEC_YIELD_TIME_FLOOR_MS: u64 = 2_000;
|
||||
pub(crate) const WINDOWS_INITIAL_EXEC_YIELD_TIME_FLOOR_MS: u64 = 10_000;
|
||||
// Minimum yield time for an empty `write_stdin`.
|
||||
pub(crate) const MIN_EMPTY_YIELD_TIME_MS: u64 = 5_000;
|
||||
pub(crate) const MAX_YIELD_TIME_MS: u64 = 30_000;
|
||||
|
||||
Reference in new issue
Block a user