good morning!!!!

Skip to content
Snippets Groups Projects
Commit cafdd593 authored by Felix Lange's avatar Felix Lange
Browse files

internal/debug: don't disable heap profile collection by default

Setting runtime.MemProfileRate to 0 through the flag default
value makes it impossible to get an 'in-use' profile.
parent 8a3ce545
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,7 @@ var (
memprofilerateFlag = cli.IntFlag{
Name: "memprofilerate",
Usage: "Turn on memory profiling with the given rate",
Value: runtime.MemProfileRate,
}
blockprofilerateFlag = cli.IntFlag{
Name: "blockprofilerate",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment