mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
fix fetchers_concurrent.go
This commit is contained in:
parent
ff3c7a7279
commit
849097ea34
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ func (d *Downloader) concurrentFetch(queue typedQueue) error {
|
|||
req.Close()
|
||||
}
|
||||
}()
|
||||
// Subscribe to peer lifecycle events to schedule tasks to new joiners and
|
||||
// Subscribe to peer lifecycle events to schedule tasks for new joiners and
|
||||
// reschedule tasks upon disconnections. We don't care which event happened
|
||||
// for simplicity, so just use a single channel.
|
||||
peering := make(chan *peeringEvent, 64) // arbitrary buffer, just some burst protection
|
||||
|
|
|
|||
Loading…
Reference in a new issue