Skip to content

Commit

Permalink
Merge pull request #124 from renaynay/fix-total-synced
Browse files Browse the repository at this point in the history
fix(sync): Fix `total_synced` metric recording
  • Loading branch information
renaynay committed Oct 18, 2023
2 parents 098c994 + f13c92c commit cb63b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ func (m *metrics) recordTotalSynced(totalSynced int) {
return
}

m.totalSynced.Store(int64(totalSynced))
m.totalSynced.Add(int64(totalSynced))
}

0 comments on commit cb63b39

Please sign in to comment.