mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
Lock by flock to prevent parallel runs (#812)
This commit is contained in:
parent
9ba730e989
commit
64b62667c0
15 changed files with 700 additions and 1 deletions
|
@ -453,7 +453,6 @@ func watchResources(ctx context.Context, done chan struct{}, logger logutils.Log
|
|||
const MB = 1024 * 1024
|
||||
|
||||
track := func() {
|
||||
debugf("Starting memory tracing iteration ...")
|
||||
var m runtime.MemStats
|
||||
runtime.ReadMemStats(&m)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue