mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-05 16:55:27 -05:00
fix build break
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user