Navigation Menu

Skip to content

Commit

Permalink
Fix RedisBundle recipe to always work out of the box
Browse files Browse the repository at this point in the history
The recipe should not be opinionated about using phpredis or predis as the bundle supports both.

Fixes symfony#335
  • Loading branch information
curry684 committed Apr 6, 2018
1 parent f73468f commit 6b16006
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions 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)%"

0 comments on commit 6b16006

Please sign in to comment.