1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00

corrected block profiling rate

This commit is contained in:
postmannen 2021-12-31 07:02:50 +01:00
parent 0d0cd8c0b6
commit 62a11c14ed

View file

@ -40,7 +40,7 @@ func main() {
}
if c.SetBlockProfileRate != 0 {
runtime.SetBlockProfileRate(1)
runtime.SetBlockProfileRate(c.SetBlockProfileRate)
}
s, err := steward.NewServer(c, version)