mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
Another place worth force GC'ing
This commit is contained in:
parent
b794d47a76
commit
506f727f1f
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue