Skip to content

Commit

Permalink
feat: add blocking and mutex profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
docmerlin committed Jul 16, 2021
1 parent 06a16e5 commit e524b71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ workflows:
- build
filters:
tags:
only: /^v[0-9]+(\.[0-9]+){2}(-(rc|beta)[0-9]+)?/
only: /^v[0-9]+(\.[0-9]+){2}(-.+)?/
branches:
ignore: /.*/
ignore: /.*/
2 changes: 2 additions & 0 deletions cmd/kapacitord/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ func main() {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
runtime.SetBlockProfileRate(1)
runtime.SetMutexProfileFraction(1)
}

// Main represents the program execution.
Expand Down

0 comments on commit e524b71

Please sign in to comment.