Lock by flock to prevent parallel runs (#812)

This commit is contained in:
Isaev Denis 2019-10-13 18:10:22 +03:00 committed by GitHub
parent 9ba730e989
commit 64b62667c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 700 additions and 1 deletions

View file

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