first
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
"""asf-worker — stateless RabbitMQ consumer ("gli addetti alle poste").
|
||||
|
||||
Each subscribed queue maps to a handler. Handlers look up the persistent
|
||||
Mongo ``Job`` record, update its status to running → completed|failed and
|
||||
optionally publish domain events.
|
||||
|
||||
Workers are horizontally scalable. All persistent state lives in MongoDB,
|
||||
never in process memory.
|
||||
"""
|
||||
|
||||
__version__ = "0.1.0"
|
||||
|
||||
from .config import WorkerSettings, get_settings
|
||||
from .worker import run_worker, build_consumer, JobHandlerFn
|
||||
|
||||
__all__ = ["WorkerSettings", "get_settings", "run_worker", "build_consumer", "JobHandlerFn"]
|
||||
Reference in New Issue
Block a user