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
This part is used to store and get results of the execution.
138
+
Result backend is used to store and get results of the execution.
88
139
Results have type `TaskiqResult` from [taskiq.result](https://github.com/taskiq-python/taskiq/blob/master/taskiq/result.py).
89
140
90
141
Every ResultBackend must implement `AsyncResultBackend` from [taskiq.abc.result_backend](https://github.com/taskiq-python/taskiq/blob/master/taskiq/abc/result_backend.py). By default, brokers use `DummyResultBackend`. It doesn't do anything and cannot be used
Copy file name to clipboardExpand all lines: docs/guide/cli.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,16 @@ To enable this option simply pass the `--reload` or `-r` option to worker taskiq
71
71
Also this option supports `.gitignore` files. If you have such file in your directory, it won't reload worker
72
72
when you modify ignored files. To disable this functionality pass `--do-not-use-gitignore` option.
73
73
74
+
### Other parameters
75
+
76
+
*`--no-configure-logging` - disables default logging configuration for workers.
77
+
*`--max-async-tasks` - maximum number of simultaneously running async tasks.
78
+
*`--max-prefetch` - number of tasks to be prefetched before execution. (Useful for systems with high message rates, but brokers should support acknowledgements).
79
+
*`--max-threadpool-threads` - number of threads for sync function exection.
80
+
*`--no-propagate-errors` - if this parameter is enabled, exceptions won't be thrown in generator dependencies.
81
+
*`--receiver` - python path to custom receiver class.
82
+
*`--receiver_arg` - custom args for receiver.
83
+
74
84
## Scheduler
75
85
76
86
Scheduler is used to schedule tasks as described in [Scheduling tasks](./scheduling-tasks.md) section.
0 commit comments