mirror of
https://github.com/dreamstarsky/runbin.git
synced 2026-05-15 22:33:09 +00:00
remove debug log on worker
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"time"
|
||||
@@ -48,7 +47,6 @@ func monitorMemory(ctx context.Context, cli *client.Client, containerID string,
|
||||
|
||||
if statsJSON.MemoryStats.Stats != nil {
|
||||
if currentMem, ok := statsJSON.MemoryStats.Stats["anon"]; ok {
|
||||
log.Println(currentMem)
|
||||
if currentMem > *maxMem {
|
||||
*maxMem = currentMem
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user