Browse Source

fix build break

Darien Raymond 8 năm trước cách đây
mục cha
commit
343417633a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/proxyman/mux/mux.go

+ 1 - 1
app/proxyman/mux/mux.go

@@ -229,7 +229,7 @@ func (m *Client) Dispatch(ctx context.Context, outboundRay ray.OutboundRay) bool
 	m.access.Lock()
 	defer m.access.Unlock()
 
-	if len(m.sessions) >= m.concurrency {
+	if len(m.sessions) >= int(m.concurrency) {
 		return false
 	}