mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -05:00
Set reuse limit
This commit is contained in:
parent
0a49628555
commit
2209294dfc
@ -67,7 +67,7 @@ func (this *ConnectionCache) Recycle(dest string, conn *wsconn) {
|
|||||||
|
|
||||||
aconn := &AwaitingConnection{
|
aconn := &AwaitingConnection{
|
||||||
conn: conn,
|
conn: conn,
|
||||||
expire: time.Now().Add(time.Second * 180),
|
expire: time.Now().Add(time.Second * 7),
|
||||||
}
|
}
|
||||||
|
|
||||||
var list []*AwaitingConnection
|
var list []*AwaitingConnection
|
||||||
|
Loading…
Reference in New Issue
Block a user