Skip to content

Commit

Permalink
chore: increase frequency of logging metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
anomit committed Nov 5, 2024
1 parent 8cd0949 commit baf9d15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/service/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ func NewMsgServerImplV2() pkgs.SubmissionServer {
metrics: &sync.Map{},
}

// Start periodic metrics logging
go s.logMetricsPeriodically(time.Minute)
// Start periodic metrics logging with 15 second interval
go s.logMetricsPeriodically(15 * time.Second)

return s
}
Expand Down

0 comments on commit baf9d15

Please sign in to comment.