Skip to content

Commit 55667ea

Browse files
mehdigmirasylvinus
authored andcommitted
more info on workers (#151)
1 parent 812fa4a commit 55667ea

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/workers.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ It is started with a list of queues to listen to, in a specific order.
66

77
It can be started with concurrency options (multiple processes and / or multiple greenlets). We call this whole group a single 'worker' even though it is able to dequeue multiple jobs in parallel.
88

9+
If a worker is started with concurrency options, it will poll for waiting jobs and dispatch them to its related processes/greenlets.
10+
For example, if we decide to use the greenlets option, under the hood, the worker will be one python process that has a pool of greenlets which will be in charge of actually running tasks.
11+
912

1013
## Statuses
1114

0 commit comments

Comments
 (0)