This commit is contained in:
songzhibin97 2024-03-20 08:23:34 +08:00
parent 5d63f79505
commit c17bb93d7a

View file

@ -1579,7 +1579,7 @@ func (d *Downloader) processSnapSyncContent() error {
timer = time.NewTimer(time.Second) timer = time.NewTimer(time.Second)
) )
defer timer.Stop() defer timer.Stop()
for { for {
// Wait for the next batch of downloaded data to be available. If we have // Wait for the next batch of downloaded data to be available. If we have
// not yet reached the pivot point, wait blockingly as there's no need to // not yet reached the pivot point, wait blockingly as there's no need to