Skip to content

Commit 75972b5

Browse files
authored
Update README with wildcard queue behavior details
Clarify behavior of wildcards in queue configuration
1 parent ee4c88f commit 75972b5

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ Here's an overview of the different options:
258258
```
259259

260260
This will create a worker fetching jobs from all queues starting with `staging`. The wildcard `*` is only allowed on its own or at the end of a queue name; you can't specify queue names such as `*_some_queue`. These will be ignored.
261+
262+
Also, if a wildcard (*) is included alongside explicit queue names, for example: `queues: [default, backend, *]`, then it would behave like `queues: *`
261263

262264
Finally, you can combine prefixes with exact names, like `[ staging*, background ]`, and the behaviour with respect to order will be the same as with only exact names.
263265

@@ -340,20 +342,6 @@ instead of this:
340342
queues: back*
341343
```
342344

343-
Also, if a wildcard (*) is included alongside explicit queue names, Solid Queue treats the configuration as queues: *.
344-
345-
This means that when * appears alongside explicit queue names, the worker uses the unfiltered polling query, ignores the specified queue order, and processes jobs from all queues.
346-
347-
For example, this:
348-
```yml
349-
queues: [default, backend, incineration, *]
350-
```
351-
352-
behaves the same as:
353-
```yml
354-
queues: *
355-
```
356-
357345
### Threads, processes, and signals
358346

359347
Workers in Solid Queue use a thread pool to run work in multiple threads, configurable via the `threads` parameter above. Besides this, parallelism can be achieved via multiple processes on one machine (configurable via different workers or the `processes` parameter above) or by horizontal scaling.

0 commit comments

Comments
 (0)