Skip to content

Commit

Permalink
DEBUG: profile block and mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy5189 committed Sep 27, 2024
1 parent 85073de commit eda4f14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ func RunHttpServer(

r := gin.New()
pprof.Register(r)
runtime.SetBlockProfileRate(1)
runtime.SetMutexProfileFraction(1)

type LogLine struct {
Time string
Expand Down

0 comments on commit eda4f14

Please sign in to comment.