diff --git a/sync/metrics.go b/sync/metrics.go index 7935221c..1f2c99f7 100644 --- a/sync/metrics.go +++ b/sync/metrics.go @@ -46,5 +46,5 @@ func (m *metrics) recordTotalSynced(totalSynced int) { return } - m.totalSynced.Store(int64(totalSynced)) + m.totalSynced.Add(int64(totalSynced)) }