Set profiler sleep time to 30 seconds
This commit is contained in:
2
utils.go
2
utils.go
@@ -19,6 +19,6 @@ func startRuntimeProfiler() {
|
|||||||
fmt.Println("Memory acquired:", m.Sys, "bytes,", m.Sys/MEGABYTE, "mb")
|
fmt.Println("Memory acquired:", m.Sys, "bytes,", m.Sys/MEGABYTE, "mb")
|
||||||
fmt.Println("Memory used:", m.Alloc, "bytes,", m.Alloc/MEGABYTE, "mb")
|
fmt.Println("Memory used:", m.Alloc, "bytes,", m.Alloc/MEGABYTE, "mb")
|
||||||
|
|
||||||
time.Sleep(time.Minute)
|
time.Sleep(time.Second * 30)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user