Skip to content

Commit 989d3a9

Browse files
committed
Add missing default for dispatcher's batch_size to README
1 parent 9cc6f93 commit 989d3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ production:
8686
Everything is optional. If no configuration is provided, Solid Queue will run with one dispatcher and one worker with default settings.
8787
8888
- `polling_interval`: the time interval in seconds that workers and dispatchers will wait before checking for more jobs. This time defaults to `1` second for dispatchers and `0.1` seconds for workers.
89-
- `batch_size`: the dispatcher will dispatch jobs in batches of this size.
89+
- `batch_size`: the dispatcher will dispatch jobs in batches of this size. The default is 500.
9090
- `queues`: the list of queues that workers will pick jobs from. You can use `*` to indicate all queues (which is also the default and the behaviour you'll get if you omit this). You can provide a single queue, or a list of queues as an array. Jobs will be polled from those queues in order, so for example, with `[ real_time, background ]`, no jobs will be taken from `background` unless there aren't any more jobs waiting in `real_time`. You can also provide a prefix with a wildcard to match queues starting with a prefix. For example:
9191
```yml
9292
staging:

0 commit comments

Comments
 (0)