From b960ad53e6486ae5c3d6ad8b83863fd8ec977bc5 Mon Sep 17 00:00:00 2001 From: goldstar611 Date: Tue, 17 Dec 2019 17:37:21 -0600 Subject: [PATCH] Add example for unix:// (#1171) --- 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 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).