Can a server attend more than 1 client? #270
Answered
by
Enchufa2
augustodarruda
asked this question in
Q&A
-
Is there a way that a server attend more than 1 client? Since I'm modelling a live chat call center, the operation allows a server to attend 4 clients at once, when a client leaves, another client that was on queue joins the server. |
Beta Was this translation helpful? Give feedback.
Answered by
Enchufa2
Jan 10, 2022
Replies: 1 comment 3 replies
-
Yes, it is. This is the method to add resources:
As you can see, there's |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Enchufa2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, it is. This is the method to add resources:
As you can see, there's
capacity=1
and an infinite queue by default. You can increase the capacity to be able to serve as many clients at the same time as required. In your case, settingcapacity=4
will do.