Sven van Ginkel and GitHub
b431db751f
fix(agent): time out blocked fan reads so collection can't hang ( #2638 , #2639 )
...
Fan sensors were read with a plain os.ReadFile and no timeout. An i915
fan1_input read that blocks in the kernel held the agent lock forever,
stalling every hub request and the WebSocket read loop, so the system
went down and the agent never reconnected.
Fan reads now go through the same timeout as temperatures
(SENSORS_TIMEOUT, default 2s). A shared readWithTimeout helper tracks a
read still blocked after timing out and skips later polls until it
returns, instead of leaking another blocked goroutine each time. The
temperature path uses the helper too, fixing the same pile-up there.
2026-10-19 13:03:13 -04:00
..
2026-08-19 11:02:33 -04:00
2026-10-13 10:32:59 -04:00
2025-10-18 15:40:54 -04:00
2026-02-19 18:04:33 -05:00
2026-10-17 12:49:57 -04:00
2026-10-19 10:57:25 -04:00
2025-11-05 13:03:47 -05:00
2026-10-05 14:52:40 -04:00
2026-10-02 12:54:22 -04:00
2026-10-12 14:17:59 -04:00
2026-02-19 18:04:33 -05:00
2025-10-02 17:56:51 -04:00
2026-10-13 12:32:26 -04:00
2026-10-19 13:03:13 -04:00
2026-10-11 11:22:37 -04:00
2026-10-13 12:32:26 -04:00
2026-10-13 12:32:26 -04:00
2026-10-13 12:32:26 -04:00
2026-10-05 14:54:29 -04:00
2026-10-05 14:54:29 -04:00
2026-10-09 14:16:35 -04:00
2026-10-05 14:52:40 -04:00
2026-10-09 14:16:35 -04:00
2026-08-26 11:50:19 -04:00
2026-03-07 14:12:17 -05:00
2026-09-30 13:02:29 -04:00
2026-10-01 18:44:29 -04:00
2026-09-09 19:53:39 -04:00
2026-10-19 12:17:54 -04:00
2026-09-21 10:49:53 -04:00
2026-09-21 10:49:53 -04:00
2026-09-22 18:00:13 -04:00
2026-09-22 18:00:13 -04:00
2026-10-19 11:00:09 -04:00
2026-10-19 11:00:09 -04:00
2026-02-12 15:27:42 -05:00
2026-02-12 15:27:42 -05:00
2026-10-19 10:57:25 -04:00
2026-10-19 10:57:25 -04:00
2026-10-19 10:57:25 -04:00
2026-08-15 15:59:07 -04:00
2026-08-15 15:59:07 -04:00
2026-10-19 13:03:13 -04:00
2026-10-19 13:03:13 -04:00
2026-02-19 18:04:33 -05:00
2026-08-18 10:34:41 -04:00
2026-03-07 13:50:49 -05:00
2026-04-07 18:41:22 -04:00
2026-01-29 18:35:57 -05:00
2026-02-18 14:51:30 -05:00
2026-02-18 15:15:58 -05:00
2026-03-27 13:52:22 -04:00
2026-09-28 18:19:02 -04:00
2026-08-16 11:20:43 -04:00
2026-08-16 11:20:43 -04:00
2026-08-16 11:20:43 -04:00
2026-10-11 10:44:18 -04:00
2026-01-12 15:38:13 -05:00
2026-10-12 12:45:27 -04:00
2026-09-28 18:19:02 -04:00
2026-02-13 19:41:40 -05:00
2026-01-11 20:27:34 -05:00
2026-10-12 12:45:27 -04:00
2026-08-16 11:41:28 -04:00
2026-10-11 10:35:56 -04:00
2026-09-24 13:59:52 -04:00
2026-10-01 13:37:57 -04:00
2026-10-01 13:37:57 -04:00
2026-10-13 12:32:26 -04:00
2026-10-19 10:57:25 -04:00
2026-10-19 10:57:25 -04:00
2026-10-19 10:57:25 -04:00
2026-10-05 14:54:29 -04:00
2026-10-05 14:54:29 -04:00
2026-10-05 14:52:40 -04:00
2026-10-05 14:52:40 -04:00
2026-10-01 10:58:21 -04:00
2026-10-01 10:58:21 -04:00
2026-10-01 10:58:21 -04:00
2026-09-23 17:07:29 -04:00
2026-09-23 17:07:29 -04:00
2026-09-18 13:22:50 -04:00
2026-09-18 13:22:50 -04:00
2026-09-18 13:22:50 -04:00
2026-09-18 13:22:50 -04:00
2026-10-05 12:01:51 -04:00
2026-09-18 13:22:50 -04:00
2026-09-18 13:22:50 -04:00
2026-09-18 13:22:50 -04:00
2026-09-23 17:07:29 -04:00
2026-09-18 13:22:50 -04:00
2026-09-23 17:07:29 -04:00
2026-10-05 12:01:51 -04:00
2026-10-05 12:01:51 -04:00
2026-10-09 12:58:05 -04:00
2026-10-09 12:58:05 -04:00
2026-10-13 08:07:44 -04:00
2026-10-13 08:07:44 -04:00
2026-08-15 13:40:30 -04:00
2026-08-16 20:58:41 -04:00
2026-08-16 21:16:12 -04:00
2026-08-16 21:16:12 -04:00
2026-08-16 20:58:41 -04:00
2026-10-19 13:03:13 -04:00
2026-08-26 11:50:19 -04:00
2026-10-19 13:03:13 -04:00
2026-09-28 19:22:48 -04:00
2026-10-13 12:32:26 -04:00
2026-10-05 11:38:33 -04:00
2025-11-05 13:03:47 -05:00
2026-10-19 10:57:25 -04:00
2026-10-19 10:57:25 -04:00
2025-11-05 13:03:47 -05:00
2026-10-19 10:57:25 -04:00
2026-10-09 13:57:40 -04:00
2026-10-09 13:57:40 -04:00
2026-08-26 11:42:40 -04:00
2026-10-05 14:52:40 -04:00
2026-01-12 15:38:13 -05:00
2026-09-28 13:57:36 -04:00
2026-10-09 11:39:09 -04:00
2026-10-11 13:02:38 -04:00
2026-02-06 14:32:57 -05:00
2026-08-18 15:18:33 -04:00
2026-08-18 15:18:33 -04:00
2026-08-18 15:18:33 -04:00