mmm: rawread stats.
This commit is contained in:
@@ -42,6 +42,8 @@ func (il *IndexingLayer) ComputeStats(opts StatsOptions) (EventStats, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
err := il.lmdbEnv.View(func(txn *lmdb.Txn) error {
|
err := il.lmdbEnv.View(func(txn *lmdb.Txn) error {
|
||||||
|
txn.RawRead = true
|
||||||
|
|
||||||
cursor, err := txn.OpenCursor(il.indexPubkeyKind)
|
cursor, err := txn.OpenCursor(il.indexPubkeyKind)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user