Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed Oct 14, 2024
1 parent bceba83 commit 56c34fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peers/external_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func NewRelayerExternalHandler(
TimeoutHalflife: constants.DefaultNetworkTimeoutHalflife,
}

timeoutManager, err := timer.NewAdaptiveTimeoutManager(&cfg, prometheus.DefaultRegisterer)
timeoutManager, err := timer.NewAdaptiveTimeoutManager(&cfg, prometheus.NewRegistry())
if err != nil {
logger.Error(
"Failed to create timeout manager",
Expand Down

0 comments on commit 56c34fc

Please sign in to comment.