Skip to content

cayu worker

Generated from the released command parser. These commands show help only; operations run when you invoke the command without --help.

Terminal window
usage: cayu worker [-h] [--processes PROCESSES]
[--shutdown-grace-seconds SHUTDOWN_GRACE_SECONDS]
name
Build the configured Cayu application once and run one named async worker
until it completes or receives a cooperative stop request.
positional arguments:
name Worker name from [tool.cayu.workers].
options:
-h, --help show this help message and exit
--processes PROCESSES
Independent worker processes; each constructs its own
app (default: 1).
--shutdown-grace-seconds SHUTDOWN_GRACE_SECONDS
Maximum cooperative shutdown time after SIGINT or
SIGTERM (default: 30).

Getting started · Operations · Configuration