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
The `--tasks-module-path` tells the worker where to find your task functions. It should be the module path where your tasks are defined (e.g., `myapp.tasks` if your tasks are in `myapp/tasks.py`). For more details, see [Defining and Exposing Tasks](defininig_and_exposing_tasks.md).
73
+
The `--tasks-module-path` tells the worker where to find your task functions. It should be the module path where your tasks are defined (e.g., `myapp/tasks` if your tasks are in `myapp/tasks.py`). For more details, see [Defining and Exposing Tasks](defininig_and_exposing_tasks.md).
For production, the recommended way is to run the underlying Rust binary `fluxqueue-worker` directly with the same flags. The `fluxqueue` CLI is there to make local development and experimentation nicer.
@@ -39,18 +39,18 @@ The worker is a standalone Rust-powered process (invoked through the `fluxqueue`
The worker imports that module and inspects it to find callables that have a `task_name` and `queue` attribute (these are normally added by the `@fluxqueue.task()` decorator).
@@ -130,7 +130,7 @@ Use different queues to separate workloads:
0 commit comments