mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
dev: use goprintffuncname, gomnd and rowserrcheck (#927)
Order linters in config in alphabetical order. Support gomnd configuration.
This commit is contained in:
parent
88b6c25075
commit
6237e59c97
18 changed files with 321 additions and 277 deletions
|
@ -473,7 +473,9 @@ func watchResources(ctx context.Context, done chan struct{}, logger logutils.Log
|
|||
|
||||
var maxRSSMB, totalRSSMB float64
|
||||
var iterationsCount int
|
||||
ticker := time.NewTicker(100 * time.Millisecond)
|
||||
|
||||
const intervalMS = 100
|
||||
ticker := time.NewTicker(intervalMS * time.Millisecond)
|
||||
defer ticker.Stop()
|
||||
|
||||
logEveryRecord := os.Getenv("GL_MEM_LOG_EVERY") == "1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue