fixed typo in send_kill_horse_command() example (#1378)

main
Arturo Bracero 4 years ago committed by GitHub
parent 492e77d86d
commit 2ece5d0fba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -406,7 +406,7 @@ redis = Redis()
workers = Worker.all(redis) workers = Worker.all(redis)
for worker in workers: for worker in workers:
if worker.state = WorkerStatus.BUSY: if worker.state == WorkerStatus.BUSY:
send_kill_horse_command(redis, worker.name) send_kill_horse_command(redis, worker.name)
``` ```

Loading…
Cancel
Save