summaryrefslogtreecommitdiff
path: root/config/resque.yml.example
diff options
context:
space:
mode:
authorPierre GUINOISEAU <pierre@guinoiseau.eu>2013-03-06 22:06:12 +0100
committerPierre GUINOISEAU <pierre@guinoiseau.eu>2013-03-06 22:06:12 +0100
commit67a61c80d161582aefae82a6784356c910940751 (patch)
tree1e1cbb604637c9ef501c44cce004447aef04d67a /config/resque.yml.example
parent7b38a0de9878b9b0214879e9def32c285e149808 (diff)
downloadgitlab-ce-67a61c80d161582aefae82a6784356c910940751.tar.gz
Allow connection to Redis via unix socket
Allow connection to Redis via unix socket, using unix:/var/run/redis/redis.sock for example. Default behaviour does not change, except that the full Redis URL must be configured, with redis:// for tcp or unix: for unix socket.
Diffstat (limited to 'config/resque.yml.example')
-rw-r--r--config/resque.yml.example6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/resque.yml.example b/config/resque.yml.example
index cd3d487408a..3c7ad0e5778 100644
--- a/config/resque.yml.example
+++ b/config/resque.yml.example
@@ -1,3 +1,3 @@
-development: localhost:6379
-test: localhost:6379
-production: redis.example.com:6379
+development: redis://localhost:6379
+test: redis://localhost:6379
+production: redis://redis.example.com:6379