fix build break

pull/432/head
Darien Raymond 2017-04-12 10:41:02 +02:00
parent c89cd8ae24
commit 343417633a
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -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
}