Skip to content

Commit 990eac6

Browse files
committed
Adding documentation about Redis backend for workers
1 parent a2b8793 commit 990eac6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,15 @@ custom prefix to separate the Resque data:
278278
$ PREFIX=my-app-name bin/resque
279279
```
280280

281+
### Setting Redis backend ###
282+
283+
When you have the Redis database on a different host than the one the workers
284+
are running, you must set the `REDIS_BACKEND` environment variable:
285+
286+
```sh
287+
$ REDIS_BACKEND=my-redis-ip:my-redis-port bin/resque
288+
```
289+
281290
### Forking
282291

283292
Similarly to the Ruby versions, supported platforms will immediately fork after

0 commit comments

Comments
 (0)