From 2ece5d0fba1df0083f0e2fe519750bf9f0b0b8e1 Mon Sep 17 00:00:00 2001 From: Arturo Bracero Date: Wed, 18 Nov 2020 02:24:47 +0100 Subject: [PATCH] fixed typo in send_kill_horse_command() example (#1378) --- docs/docs/workers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ```