Skip to content

Commit

Permalink
fix(sync): Fix total_synced metric - add, do not override
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Oct 18, 2023
1 parent 098c994 commit f13c92c
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 f13c92c

Please sign in to comment.