Skip to content

Commit

Permalink
Only update metrics on successful fetch of bids.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Sep 24, 2024
1 parent 3fd3a1b commit 69b8d1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import (
)

// ReleaseVersion is the release version for the code.
var ReleaseVersion = "0.4.0"
var ReleaseVersion = "0.4.1"

func main() {
os.Exit(main2())
Expand Down
7 changes: 1 addition & 6 deletions services/bids/standard/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,7 @@ func (s *Service) catchupProviderSlot(ctx context.Context,
return errors.Wrap(err, "failed to commit transaction")
}

for _, relay := range s.receivedBidTracesProviders {
monitorRelayUpdated(relay.Name())
}
for _, relay := range s.deliveredBidTraceProviders {
monitorRelayUpdated(relay.Name())
}
monitorRelayUpdated(provider)

if len(s.bidsReceivedHandlers) > 0 {
// We need to pass the lowest slot of all of the providers, to ensure that we dont miss data.
Expand Down

0 comments on commit 69b8d1b

Please sign in to comment.