mmm: rawread stats.

This commit is contained in:
fiatjaf
2026-05-03 13:48:19 -03:00
parent cbf335a8fa
commit aafff41d40
+2
View File
@@ -42,6 +42,8 @@ func (il *IndexingLayer) ComputeStats(opts StatsOptions) (EventStats, error) {
}
err := il.lmdbEnv.View(func(txn *lmdb.Txn) error {
txn.RawRead = true
cursor, err := txn.OpenCursor(il.indexPubkeyKind)
if err != nil {
return err