summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoldstar611 <goldstar611@users.noreply.github.com>2019-12-17 17:37:21 -0600
committerSelwin Ong <selwin.ong@gmail.com>2019-12-18 06:37:21 +0700
commitb960ad53e6486ae5c3d6ad8b83863fd8ec977bc5 (patch)
tree46647e6de18ae8755410ea7445da049d71a56139
parenta06421e1250b15d085557bfc61e56819e0af47ef (diff)
downloadrq-b960ad53e6486ae5c3d6ad8b83863fd8ec977bc5.tar.gz
Add example for unix:// (#1171)
-rw-r--r--docs/docs/workers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/docs/workers.md b/docs/docs/workers.md
index fa5ddf8..dc4fb6e 100644
--- a/docs/docs/workers.md
+++ b/docs/docs/workers.md
@@ -57,7 +57,7 @@ just to scale up your workers temporarily during peak periods.
In addition to `--burst`, `rq worker` also accepts these arguments:
-* `--url` or `-u`: URL describing Redis connection details (e.g `rq worker --url redis://:secrets@example.com:1234/9`)
+* `--url` or `-u`: URL describing Redis connection details (e.g `rq worker --url redis://:secrets@example.com:1234/9` or `rq worker --url unix:///var/run/redis/redis.sock`)
* `--path` or `-P`: multiple import paths are supported (e.g `rq worker --path foo --path bar`)
* `--config` or `-c`: path to module containing RQ settings.
* `--results-ttl`: job results will be kept for this number of seconds (defaults to 500).