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.
History
..
2025-02-27 03:18:23 +08:00
2025-10-16 09:01:16 +08:00
2025-10-08 12:32:40 +08:00
2025-09-15 12:29:30 +08:00
2024-06-20 13:50:28 +08:00
2025-10-13 10:30:03 +08:00
2025-10-27 10:58:07 +08:00
2025-03-13 12:51:20 +08:00
2024-09-11 08:15:03 +08:00
2025-10-14 14:43:03 +08:00
2025-10-24 00:08:10 +08:00
2025-10-24 00:08:10 +08:00
2025-06-21 21:22:20 +08:00
2025-06-06 22:13:11 +08:00
2025-10-08 12:32:40 +08:00
2025-10-11 23:41:24 +08:00
2025-03-12 13:04:15 +08:00
2025-06-05 19:34:23 +08:00
2025-03-18 15:31:23 +08:00
2025-03-18 15:31:23 +08:00
2025-03-18 15:31:23 +08:00