Skip to content

Commit

Permalink
Merge pull request #323 from BeyondWUXF/master
Browse files Browse the repository at this point in the history
配置文件client objQueueMax不生效
  • Loading branch information
lbbniu authored Jan 24, 2022
2 parents ebe3b8d + 2f8d5b4 commit b9033cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tars/servant.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (s *ServantProxy) doInvoke(ctx context.Context, msg *Message, timeout time.
if adp == nil {
return errors.New("no adapter Proxy selected:" + msg.Req.SServantName)
}
if s.queueLen > ObjQueueMax {
if s.queueLen > adp.comm.Client.ObjQueueMax {
return errors.New("invoke queue is full:" + msg.Req.SServantName)
}
ep := adp.GetPoint()
Expand Down

0 comments on commit b9033cb

Please sign in to comment.