WorkerConfig#
- class safir.arq.uws.WorkerConfig[T: BaseModel](arq_mode, arq_queue_url, arq_queue_password, grace_period, parameters_class, timeout)#
Bases:
Generic[T]Minimal configuration needed for building a UWS backend worker.
- Parameters:
Attributes Summary
What mode to use for the arq queue.
Password of the Redis arq queue.
URL of the Redis arq queue.
Redis settings for arq.
How long to wait for workers to shut down before cancelling them.
Class of the parameters to pass to the backend worker.
Maximum execution time.
Attributes Documentation
- arq_redis_settings#
Redis settings for arq.