Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
freemanzMrojo committed Jan 20, 2025
1 parent 63dd85e commit 19fbe70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions muxdb/engine/leveldb.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ func (ldb *levelEngine) Bulk() kv.Bulk {
if err := ldb.db.Write(batch, &writeOpt); err != nil {
return err
}
batchWriteElapsed := mclock.Now() - startTime
metricBatchWriteBytes().Set(int64(batchBytesNo))
batchWriteElapsed := mclock.Now() - startTime
metricBatchWriteBytes().Set(int64(batchBytesNo))
metricBatchWriteDuration().Observe(time.Duration(batchWriteElapsed).Milliseconds())
}
ldb.batchPool.Put(batch)
Expand Down

0 comments on commit 19fbe70

Please sign in to comment.