Set reuse limit

This commit is contained in:
Shelikhoo
2016-08-15 20:14:45 +08:00
parent 0a49628555
commit 2209294dfc
+1 -1
View File
@@ -67,7 +67,7 @@ func (this *ConnectionCache) Recycle(dest string, conn *wsconn) {
aconn := &AwaitingConnection{
conn: conn,
expire: time.Now().Add(time.Second * 180),
expire: time.Now().Add(time.Second * 7),
}
var list []*AwaitingConnection