erigon-pulse/.golangci/step4.yml
Alex Sharov 57358730a4
Minor lmdb related improvements (#667)
* don't call initCursor on happy path

* don't call initCursor on happy path

* don't run stale reads goroutine for inMem mode

* don't call initCursor on happy path

* remove buffers from cursor object - they are useful only in Badger implementation

* commit kv benchmark

* remove buffers from cursor object - they are useful only in Badger implementation

* remove buffers from cursor object - they are useful only in Badger implementation

* cancel server before return pipe to pool

* try  to fix test

* set field db in managed tx
2020-06-15 13:30:54 +01:00

22 lines
317 B
YAML

run:
deadline: 10m
linters:
disable-all: true
enable:
- gosec
- ineffassign
- depguard
- typecheck
- unused
- misspell
- maligned
issues:
exclude-rules:
# Exclude some linters from running on tests files.
- path: _test\.go
linters:
- gosec
- unused