dev: use goprintffuncname, gomnd and rowserrcheck (#927)

Order linters in config in alphabetical order.
Support gomnd configuration.
This commit is contained in:
Isaev Denis 2020-01-19 19:55:29 +03:00 committed by GitHub
parent 88b6c25075
commit 6237e59c97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 321 additions and 277 deletions

View file

@ -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"