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
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,7 @@ The number of signals before a hard kill can be configured with the `--hardkill-
138
138
*`--log-level` is used to set a log level (default `INFO`).
139
139
*`--log-format` is used to set a log format (default `%(asctime)s][%(name)s][%(levelname)-7s][%(processName)s] %(message)s`).
140
140
*`--max-async-tasks` - maximum number of simultaneously running async tasks.
141
+
*`--max-async-tasks-jitter` – Randomly varies the max async task limit between --max-async-tasks and a jittered value, helping prevent simultaneous worker restarts.
141
142
*`--max-prefetch` - number of tasks to be prefetched before execution. (Useful for systems with high message rates, but brokers should support acknowledgements).
142
143
*`--max-threadpool-threads` - number of threads for sync function execution.
143
144
*`--no-propagate-errors` - if this parameter is enabled, exceptions won't be thrown in generator dependencies.
@@ -149,7 +150,7 @@ The number of signals before a hard kill can be configured with the `--hardkill-
149
150
*`--shutdown-timeout` - maximum amount of time for graceful broker's shutdown in seconds (default 5).
150
151
*`--wait-tasks-timeout` - if cannot read new messages from the broker or maximum number of tasks is reached, worker will wait for all current tasks to finish. This parameter sets the maximum amount of time to wait until shutdown.
151
152
*`--hardkill-count` - Number of termination signals to the main process before performing a hardkill.
152
-
153
+
*
153
154
## Scheduler
154
155
155
156
Scheduler is used to schedule tasks as described in [Scheduling tasks](./scheduling-tasks.md) section.
0 commit comments