Update client.go

This commit is contained in:
风扇滑翔翼 2025-07-08 22:17:00 +08:00 committed by GitHub
parent e592701643
commit 0c95642099
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -296,7 +296,7 @@ func (m *ClientWorker) Dispatch(ctx context.Context, link *transport.Link) bool
}
sm := m.sessionManager
s := sm.Allocate(int(m.strategy.MaxConcurrency))
s := sm.Allocate(m.strategy)
if s == nil {
return false
}