From f13c92cd04e4a8fc17e0905ca5782310df272b70 Mon Sep 17 00:00:00 2001 From: rene <41963722+renaynay@users.noreply.github.com> Date: Wed, 18 Oct 2023 14:02:37 +0200 Subject: [PATCH] fix(sync): Fix total_synced metric - add, do not override --- sync/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) }