From 6b16006c520005ec711dc7f20ef223c2849ca798 Mon Sep 17 00:00:00 2001 From: Niels Keurentjes Date: Fri, 6 Apr 2018 10:13:39 +0200 Subject: [PATCH] Fix RedisBundle recipe to always work out of the box The recipe should not be opinionated about using phpredis or predis as the bundle supports both. Fixes #335 --- .../2.0/config/packages/snc_redis.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/snc/redis-bundle/2.0/config/packages/snc_redis.yaml b/snc/redis-bundle/2.0/config/packages/snc_redis.yaml index 1ad96977..c56e1dc4 100644 --- a/snc/redis-bundle/2.0/config/packages/snc_redis.yaml +++ b/snc/redis-bundle/2.0/config/packages/snc_redis.yaml @@ -1,6 +1,12 @@ snc_redis: clients: - default: - type: predis - alias: default - dsn: "%env(REDIS_URL)%" + +# Define your clients here. The example below connects to database 0 of the default Redis server. +# +# See https://github.com/snc/SncRedisBundle/blob/master/Resources/doc/index.md for instructions on +# how to configure the bundle. +# +# default: +# type: predis +# alias: default +# dsn: "%env(REDIS_URL)%"