From a9125bb946fa6d2f68d08eb5da6884d55a0cd3a6 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Wed, 11 Feb 2026 13:40:36 -0800 Subject: [PATCH] Increased file watcher debounce duration from 1s to 10s 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. --- 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 427d5b6e4ed..bfd00204d56 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 {