Set reuse limit

pull/238/head
Shelikhoo 8 years ago
parent 0a49628555
commit 2209294dfc
No known key found for this signature in database
GPG Key ID: 7791BDB0709ABD21

@ -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…
Cancel
Save