Skip to content

Commit 11bebcc

Browse files
authored
Add missing CLI options documentation (#255)
1 parent eaf704e commit 11bebcc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/guide/cli.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,15 @@ when you modify ignored files. To disable this functionality pass `--do-not-use-
8787
### Other parameters
8888

8989
* `--no-configure-logging` - disables default logging configuration for workers.
90+
- `--log-level` is used to set a log level (default `INFO`).
9091
* `--max-async-tasks` - maximum number of simultaneously running async tasks.
9192
* `--max-prefetch` - number of tasks to be prefetched before execution. (Useful for systems with high message rates, but brokers should support acknowledgements).
9293
* `--max-threadpool-threads` - number of threads for sync function exection.
9394
* `--no-propagate-errors` - if this parameter is enabled, exceptions won't be thrown in generator dependencies.
9495
* `--receiver` - python path to custom receiver class.
9596
* `--receiver_arg` - custom args for receiver.
9697
* `--ack-type` - Type of acknowledgement. This parameter is used to set when to acknowledge the task. Possible values are `when_received`, `when_executed`, `when_saved`. Default is `when_saved`.
98+
- `--shutdown-timeout` - maximum amount of time for graceful broker's shutdown in seconds.
9799

98100
## Scheduler
99101

@@ -118,4 +120,6 @@ Path to scheduler is the only required argument.
118120
- `--tasks-pattern` or `-tp`.
119121
It's a name of files to import. By default is searches for all `tasks.py` files.
120122
- `--fs-discover` or `-fsd`. This option enables search of task files in current directory recursively, using the given pattern.
121-
- `--log-level` is used to set a log level.
123+
- `--no-configure-logging` - use this parameter if your application configures custom logging.
124+
- `--log-level` is used to set a log level (default `INFO`).
125+
- `--skip-first-run` - skip first run of scheduler. This option skips running tasks immediately after scheduler start.

0 commit comments

Comments
 (0)