Files
goclaw/internal/channels
viettranx 06ac35eeb1 fix(compaction): use DB count for threshold check after server restart
MaybeCompact relied on RAM count which resets to 0 on restart (LoadFromDB
is a no-op). Messages accumulated in DB but never triggered compaction.
Now falls back to CountByKey DB query when RAM count is below threshold.
2026-03-10 20:33:08 +07:00
..