-
As example: I have one worker that processes a request within 1s. Option 1. Option 2. Which behavior would it be? And how to configure the behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Option 2 is correct. You can control the size of the queue using the |
Beta Was this translation helpful? Give feedback.
-
Yeah, as @wolfy-j said, that would be option 2. |
Beta Was this translation helpful? Give feedback.
-
Simple diagram would be the following: Of course, when you sent requests at the literally same time, the 2-nd request can first get the worker, but this is something, that has indeterministic behavior. |
Beta Was this translation helpful? Give feedback.
-
Thanks, guys! |
Beta Was this translation helpful? Give feedback.
Option 2 is correct. You can control the size of the queue using the
allocate_timeout
option. Default is 1 minute.