You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/cli.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,13 +87,15 @@ when you modify ignored files. To disable this functionality pass `--do-not-use-
87
87
### Other parameters
88
88
89
89
*`--no-configure-logging` - disables default logging configuration for workers.
90
+
-`--log-level` is used to set a log level (default `INFO`).
90
91
*`--max-async-tasks` - maximum number of simultaneously running async tasks.
91
92
*`--max-prefetch` - number of tasks to be prefetched before execution. (Useful for systems with high message rates, but brokers should support acknowledgements).
92
93
*`--max-threadpool-threads` - number of threads for sync function exection.
93
94
*`--no-propagate-errors` - if this parameter is enabled, exceptions won't be thrown in generator dependencies.
94
95
*`--receiver` - python path to custom receiver class.
95
96
*`--receiver_arg` - custom args for receiver.
96
97
*`--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.
97
99
98
100
## Scheduler
99
101
@@ -118,4 +120,6 @@ Path to scheduler is the only required argument.
118
120
-`--tasks-pattern` or `-tp`.
119
121
It's a name of files to import. By default is searches for all `tasks.py` files.
120
122
-`--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