Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix comments
  • Loading branch information
tac0turtle committed Mar 4, 2026
commit b4bd5ea5e74ec8bb9c21b978b01d51d658c86bad
6 changes: 0 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,26 @@ linters:
- asciicheck
- bidichk
- bodyclose
- containedctx
- contextcheck
- copyloopvar
- durationcheck
- errname
- errcheck
- errorlint
- gocritic
- govet
- ineffassign
- makezero
- gosec
- misspell
- nilerr
- noctx
- nolintlint
- prealloc
- predeclared
- reassign
- revive
- rowserrcheck
- sqlclosecheck
- staticcheck
- testifylint
- unconvert
- unparam
- unused
- usestdlibvars
- wastedassign
Comment thread
tac0turtle marked this conversation as resolved.
Expand Down
6 changes: 3 additions & 3 deletions block/internal/syncing/syncer_backoff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func TestSyncer_BackoffOnDAError(t *testing.T) {
}

// Run sync loop
syncer.startSyncWorkers(t.Context())
syncer.startSyncWorkers(ctx)
<-ctx.Done()
syncer.wg.Wait()

Expand Down Expand Up @@ -223,7 +223,7 @@ func TestSyncer_BackoffResetOnSuccess(t *testing.T) {
go syncer.processLoop()

// Run workers
syncer.startSyncWorkers(t.Context())
syncer.startSyncWorkers(ctx)
<-ctx.Done()
syncer.wg.Wait()

Expand Down Expand Up @@ -294,7 +294,7 @@ func TestSyncer_BackoffBehaviorIntegration(t *testing.T) {
Return(nil, datypes.ErrBlobNotFound).Once()

go syncer.processLoop()
syncer.startSyncWorkers(t.Context())
syncer.startSyncWorkers(ctx)
<-ctx.Done()
syncer.wg.Wait()

Expand Down
Loading