diff --git a/docs/docs/workers.md b/docs/docs/workers.md index 3e8ee4d..3c7c9e0 100644 --- a/docs/docs/workers.md +++ b/docs/docs/workers.md @@ -406,7 +406,7 @@ redis = Redis() workers = Worker.all(redis) for worker in workers: - if worker.state = WorkerStatus.BUSY: + if worker.state == WorkerStatus.BUSY: send_kill_horse_command(redis, worker.name) ```