summaryrefslogtreecommitdiff
path: root/rq/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'rq/command.py')
-rw-r--r--rq/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rq/command.py b/rq/command.py
index 0f8ef6e..4566ec0 100644
--- a/rq/command.py
+++ b/rq/command.py
@@ -22,7 +22,7 @@ def send_command(connection: 'Redis', worker_name: str, command: str, **kwargs):
- `shutdown`: Shuts down a worker
- `kill-horse`: Command for the worker to kill the current working horse
- `stop-job`: A command for the worker to stop the currently running job
-
+
The command string will be parsed into a dictionary and send to a PubSub Topic.
Workers listen to the PubSub, and `handle` the specific command.