Andrew Khmylov and Xubin Ren
7aab7e8830
feat(agent): make idle compaction scan interval configurable
...
Before this change, idle compaction is triggered every 1 second
if the incoming message stream is idle.
When triggered, it enumerates all session files, loads and parses them,
and then checks their expiration.
This becomes too CPU-intensive, especially on low-power devices like Raspberry Pi.
It's unlikely that you actually need to compact every second over the long time.
This change adds a configurable throttling for idle-compaction.
Default behavior is unchanged.
2026-07-27 02:15:48 +08:00
..
2026-07-24 19:13:51 +08:00
2026-04-16 23:44:26 +08:00
2026-07-24 09:42:38 +08:00
2026-07-10 17:54:34 +08:00
2026-07-27 02:15:48 +08:00
2026-07-23 00:38:49 +08:00
2026-07-10 17:54:34 +08:00
2026-07-10 17:54:34 +08:00
2026-07-21 11:44:52 +08:00
2026-05-12 11:28:20 +08:00
2026-07-24 19:25:52 +08:00
2026-07-22 01:59:09 +08:00
2026-07-24 19:25:52 +08:00
2026-06-21 13:05:57 +08:00
2026-07-22 23:04:36 +08:00
2026-07-13 12:07:29 +08:00
2026-07-15 00:18:37 +08:00
2026-07-14 00:30:50 +08:00
2026-07-15 01:19:48 +08:00
2026-07-18 17:35:56 +08:00
2026-06-27 16:47:48 +08:00
2026-07-21 11:44:52 +08:00
2026-07-10 17:54:34 +08:00
2026-07-23 12:42:24 +08:00
2026-07-10 17:54:34 +08:00
2026-03-25 22:07:14 +08:00
2026-07-01 20:17:00 +08:00
2026-07-10 17:54:34 +08:00
2026-07-12 00:35:17 +08:00
2026-07-27 01:39:46 +08:00
2026-07-23 13:16:47 +08:00
2026-07-27 00:12:44 +08:00
2026-07-10 17:54:34 +08:00
2026-07-22 13:08:39 +08:00
2026-07-14 16:17:35 +08:00
2026-07-15 00:18:37 +08:00
2026-07-04 21:15:18 +08:00
2026-07-26 17:45:51 +08:00
2026-07-23 00:38:49 +08:00
2026-07-15 10:34:46 +08:00
2026-07-27 01:39:46 +08:00
2026-07-21 13:46:05 +08:00
2026-07-23 15:57:13 +08:00
2026-07-10 17:54:34 +08:00
2026-07-21 11:44:52 +08:00
2026-07-27 01:39:46 +08:00
2026-07-27 01:39:46 +08:00
2026-07-10 17:54:34 +08:00
2026-07-23 13:42:09 +08:00
2026-07-10 17:54:34 +08:00
2026-07-10 17:54:34 +08:00
2026-07-10 17:54:34 +08:00
2026-07-21 11:44:52 +08:00
2026-07-22 22:42:31 +08:00
2026-07-23 00:38:49 +08:00
2026-07-23 00:38:49 +08:00
2026-06-03 15:01:29 +08:00
2026-06-27 16:52:54 +08:00
2026-06-27 16:52:54 +08:00
2026-07-12 00:35:17 +08:00
2026-07-24 00:55:06 +08:00
2026-07-15 00:18:37 +08:00
2026-07-26 17:44:41 +08:00
2026-07-15 00:18:37 +08:00
2026-07-21 13:48:51 +08:00
2026-07-22 17:25:22 +08:00
2026-07-22 15:28:34 +08:00
2026-06-28 19:46:59 +08:00
2026-07-01 13:03:47 +08:00
2026-05-12 11:28:20 +08:00
2026-07-22 23:04:36 +08:00
2026-07-08 21:02:12 +08:00
2026-07-23 00:38:49 +08:00
2026-07-24 09:42:38 +08:00