Skip to content

Commit 1b41b72

Browse files
committed
Fix nonce metrics
1 parent 5fef969 commit 1b41b72

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pkg/code/async/nonce/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (p *service) metricsGaugeWorker(ctx context.Context) error {
7373
if err != nil {
7474
continue
7575
}
76-
recordNonceCountEvent(ctx, nonce.EnvironmentSolana, nonce.EnvironmentInstanceSolanaMainnet, state, nonce.PurposeInternalServerProcess, count)
76+
recordNonceCountEvent(ctx, nonce.EnvironmentSolana, nonce.EnvironmentInstanceSolanaMainnet, state, nonce.PurposeClientSwap, count)
7777
}
7878

7979
delay = time.Second - time.Since(start)

pkg/code/async/swap/worker.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ func (p *service) worker(serviceCtx context.Context, state swap.State, interval
4343
return err
4444
}
4545

46-
// Process the batch of nonce accounts in parallel
4746
var wg sync.WaitGroup
4847
for _, item := range items {
4948
wg.Add(1)

0 commit comments

Comments
 (0)