mirror of https://github.com/v2ray/v2ray-core
fix build break
parent
c89cd8ae24
commit
343417633a
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue