diff options
author | Arturo Bracero <artubr@gmail.com> | 2020-11-18 02:24:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 08:24:47 +0700 |
commit | 2ece5d0fba1df0083f0e2fe519750bf9f0b0b8e1 (patch) | |
tree | b5b2be68a0dd7491f3f3d0a61f042abe867ff5ea | |
parent | 492e77d86df03ce343167a126cbf99f79a34c173 (diff) | |
download | rq-2ece5d0fba1df0083f0e2fe519750bf9f0b0b8e1.tar.gz |
fixed typo in send_kill_horse_command() example (#1378)
-rw-r--r-- | docs/docs/workers.md | 2 |
1 files changed, 1 insertions, 1 deletions
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) ``` |