Skip to content

Commit

Permalink
fix: lints
Browse files Browse the repository at this point in the history
  • Loading branch information
praetoriansentry committed Nov 9, 2023
1 parent cf04747 commit 1f5244f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/dbbench/dbbench.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ type (
}
WrappedPebbleIterator struct {
*pebble.Iterator
sync.Mutex
*sync.Mutex
}
)

Expand Down Expand Up @@ -192,7 +192,7 @@ func (p *PebbleDBWrapper) NewIterator() iterator.Iterator {
UseL6Filters: false,
}
iter := p.handle.NewIter(&io)
wrappedIter := WrappedPebbleIterator{iter, p.Mutex}
wrappedIter := WrappedPebbleIterator{iter, &p.Mutex}
return &wrappedIter
}
func (w *WrappedPebbleIterator) Seek(key []byte) bool {
Expand Down
2 changes: 1 addition & 1 deletion doc/polycli_dbbench.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This command is meant to give us a sense of the system level
performance for leveldb:

```bash
go run main.go leveldbbench --degree-of-parallelism 2 | jq '.' > result.json
go run main.go dbbench --degree-of-parallelism 2 | jq '.' > result.json
```

In many cases, we'll want to emulate the performance characteristics
Expand Down

0 comments on commit 1f5244f

Please sign in to comment.