Reduce auto-sync delays for better UX

- Reduce flush debounce from 5s to 1s (BEADS_FLUSH_DEBOUNCE)
- Reduce daemon poll interval from 10s to 2s
- Makes issue changes sync much faster to JSONL and git
This commit is contained in:
Steve Yegge
2025-10-26 17:14:25 -07:00
parent 0f27c5abf1
commit fcff20a735
4 changed files with 7 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ func Initialize() error {
_ = v.BindEnv("auto-start-daemon", "BEADS_AUTO_START_DAEMON")
// Set defaults for additional settings
v.SetDefault("flush-debounce", "5s")
v.SetDefault("flush-debounce", "1s")
v.SetDefault("auto-start-daemon", true)
// Read config file if it exists (don't error if not found)