Worker API Reference#

class lifeblood.worker.Worker(scheduler_addr: AddressChain, *, child_priority_adjustment: ProcessPriorityAdjustment = ProcessPriorityAdjustment.NO_CHANGE, worker_type: WorkerType = WorkerType.STANDARD, config: Optional[Config] = None, singleshot: bool = False, scheduler_ping_interval: float = 10, scheduler_ping_miss_threshold: int = 6, worker_id: Optional[int] = None, pool_address: Optional[AddressChain] = None)#