optimizing badger cache, won a 10-15% improvement in most benchmarks

This commit is contained in:
2025-11-16 15:07:36 +00:00
parent 9bb3a7e057
commit 95bcf85ad7
72 changed files with 8158 additions and 4048 deletions

View File

@@ -78,7 +78,7 @@ func (l *Listener) HandleCount(msg []byte) (err error) {
}
var cnt int
var a bool
cnt, a, err = l.D.CountEvents(ctx, f)
cnt, a, err = l.DB.CountEvents(ctx, f)
if chk.E(err) {
return
}