fix fetchers_concurrent.go

This commit is contained in:
Christina 2024-06-28 16:52:32 +03:00 committed by GitHub
parent ff3c7a7279
commit 849097ea34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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