mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-15 17:51:15 +00:00
corrected block profiling rate
This commit is contained in:
parent
0d0cd8c0b6
commit
62a11c14ed
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ func main() {
|
|||
}
|
||||
|
||||
if c.SetBlockProfileRate != 0 {
|
||||
runtime.SetBlockProfileRate(1)
|
||||
runtime.SetBlockProfileRate(c.SetBlockProfileRate)
|
||||
}
|
||||
|
||||
s, err := steward.NewServer(c, version)
|
||||
|
|
Loading…
Reference in a new issue