mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-16 22:57:53 +08:00
- Synchronize Watcher.authDir and rebind the fsnotify directory watch when SetConfig or reloadConfig updates the authentication directory. - Read the active auth directory across snapshots, full rescans, and incremental file events while discarding stale pre-switch directory events. - Add regression tests covering runtime auth-dir reloads, shared credential filenames, concurrent SetConfig updates, and stale event isolation. Closes: #7160 Co-authored-by: Dylan <1990016@gmail.com>