Skip to content

Commit

Permalink
fix: puller rewrite and bug fixes (#3437)
Browse files Browse the repository at this point in the history
  • Loading branch information
istae committed Oct 25, 2022
1 parent 00aada8 commit 96a0a1a
Show file tree
Hide file tree
Showing 6 changed files with 272 additions and 278 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Expand Up @@ -23,7 +23,6 @@ linters:
- importas
- ineffassign
- misspell
- nakedret
- nilerr
- noctx
- paralleltest
Expand Down
2 changes: 1 addition & 1 deletion pkg/node/node.go
Expand Up @@ -931,7 +931,7 @@ func NewBee(interrupt chan struct{}, sysInterrupt chan os.Signal, addr string, p

var pullerService *puller.Puller
if o.FullNodeMode && !o.BootnodeMode {
pullerService = puller.New(stateStore, kad, batchStore, pullSyncProtocol, logger, puller.Options{}, warmupTime)
pullerService = puller.New(stateStore, kad, batchStore, pullSyncProtocol, logger, puller.Options{SyncSleepDur: puller.DefaultSyncSleepDur}, warmupTime)
b.pullerCloser = pullerService
}

Expand Down

0 comments on commit 96a0a1a

Please sign in to comment.