Closed ono closed 7 years ago
Introduce Worker.stop_consumer/1, WorkerSupervisor.graceful_halt/1 and WorkerSupervisor.graceful_halt/2 to provide a way shut down TaskBunny safely. WorkerSupervisor.graceful_halt/1 will wait for running jobs to finish.
Worker.stop_consumer/1
WorkerSupervisor.graceful_halt/1
WorkerSupervisor.graceful_halt/2
Introduce
Worker.stop_consumer/1
,WorkerSupervisor.graceful_halt/1
andWorkerSupervisor.graceful_halt/2
to provide a way shut down TaskBunny safely.WorkerSupervisor.graceful_halt/1
will wait for running jobs to finish.