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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user