Another place worth force GC'ing
This commit is contained in:
parent
b794d47a76
commit
506f727f1f
|
@ -240,6 +240,7 @@ func (proxy *Proxy) StartProxy() {
|
|||
go func() {
|
||||
for {
|
||||
clocksmith.Sleep(PrefetchSources(proxy.xTransport, proxy.sources))
|
||||
runtime.GC()
|
||||
}
|
||||
}()
|
||||
if len(proxy.serversInfo.registeredServers) > 0 {
|
||||
|
|
Loading…
Reference in New Issue