mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
eth/downloader: Changed the time threshold to 10 minutes
This commit is contained in:
parent
1008f2559b
commit
965da6938a
1 changed files with 1 additions and 1 deletions
|
|
@ -1562,7 +1562,7 @@ func (d *Downloader) processFastSyncContent(latest *types.Header) error {
|
|||
if err := d.importBlockResults(afterP); err != nil {
|
||||
return err
|
||||
}
|
||||
if 4400000 > time.Now().Unix()-latest.Time.Int64() {
|
||||
if 600 > time.Now().Unix()-latest.Time.Int64() {
|
||||
d.mux.Post(BlockEvent{})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue