Don't prefetch more frequently than 1/min
This commit is contained in:
parent
1c27d6c230
commit
187de17396
|
@ -194,7 +194,7 @@ func (proxy *Proxy) prefetcher(urlsToPrefetch *[]URLToPrefetch) {
|
|||
}
|
||||
}
|
||||
}
|
||||
time.Sleep(5 * time.Second)
|
||||
time.Sleep(60 * time.Second)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue