From 81c534102edc200e5662ff4d6473f67d0401f0f5 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Wed, 11 Feb 2026 14:08:03 -0800 Subject: [PATCH] Increased file watcher debounce duration from 1s to 10s (#11494) Users were reporting that when they were actively editing a skill file, they would see frequent errors (one per second) across all of their active session until they fixed all frontmatter parse errors. This change will reduce the chatter at the expense of a slightly longer delay before skills are updated in the UI. This addresses #11385 --- codex-rs/core/src/file_watcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/core/src/file_watcher.rs b/codex-rs/core/src/file_watcher.rs index 427d5b6e4..bfd00204d 100644 --- a/codex-rs/core/src/file_watcher.rs +++ b/codex-rs/core/src/file_watcher.rs @@ -39,7 +39,7 @@ struct FileWatcherInner { watched_paths: HashMap, } -const WATCHER_THROTTLE_INTERVAL: Duration = Duration::from_secs(1); +const WATCHER_THROTTLE_INTERVAL: Duration = Duration::from_secs(10); /// Coalesces bursts of paths and emits at most once per interval. struct ThrottledPaths {