mirror of https://github.com/v2ray/v2ray-core
Fix
parent
d7440bb1d6
commit
6c8b4f5db3
|
@ -34,7 +34,7 @@ func (this *ConnectionCache) Cleanup() {
|
||||||
defer this.cleanupOnce.Reset()
|
defer this.cleanupOnce.Reset()
|
||||||
|
|
||||||
for len(this.cache) > 0 {
|
for len(this.cache) > 0 {
|
||||||
time.Sleep(time.Second * 4)
|
time.Sleep(time.Second * 7)
|
||||||
this.Lock()
|
this.Lock()
|
||||||
for key, value := range this.cache {
|
for key, value := range this.cache {
|
||||||
size := len(value)
|
size := len(value)
|
||||||
|
|
Loading…
Reference in New Issue