Skip to content

Commit e524b71

Browse files
committed
feat: add blocking and mutex profiling
1 parent 06a16e5 commit e524b71

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ workflows:
5555
- build
5656
filters:
5757
tags:
58-
only: /^v[0-9]+(\.[0-9]+){2}(-(rc|beta)[0-9]+)?/
58+
only: /^v[0-9]+(\.[0-9]+){2}(-.+)?/
5959
branches:
60-
ignore: /.*/
60+
ignore: /.*/

cmd/kapacitord/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ func main() {
4343
fmt.Fprintln(os.Stderr, err)
4444
os.Exit(1)
4545
}
46+
runtime.SetBlockProfileRate(1)
47+
runtime.SetMutexProfileFraction(1)
4648
}
4749

4850
// Main represents the program execution.

0 commit comments

Comments
 (0)