Files
clash-proxy/src-tauri
Slinetrac 9ab80cd7a4 refactor(profile-switch): add watchdog, heartbeat, and async timeout guards
- Introduce SwitchHeartbeat for stage tracking and timing; log stage transitions with elapsed durations.
- Add watchdog in driver to cancel stalled switches (5s heartbeat timeout).
- Wrap blocking ops (Config::apply, tray updates, profiles_save_file_safe, etc.) with time::timeout to prevent async stalls.
- Improve logs for stage transitions and watchdog timeouts to clarify cancellation points.
9ab80cd7a4 · 2025-10-27 10:58:07 +08:00
History
..
2025-02-27 03:18:23 +08:00
2025-10-16 09:01:16 +08:00
2024-06-20 13:50:28 +08:00
2024-09-11 08:15:03 +08:00
2025-06-21 21:22:20 +08:00