snc / SncRedisBundle

A Redis bundle for Symfony supporting Predis and PhpRedis

Home Page:https://github.com/snc/SncRedisBundle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Predis default key name stored in Redis

danrod7 opened this issue · comments

Hi,

I was wondering something about the key stored in redis.
Mine looks like per default like this : NnXrdxiuBQ

snc_redis:

    default:
      type: "predis"
      alias: default
      dsn: "%env(REDIS_URL)%"
      options:
        prefix: xxx

Given this, it replaces my key per xxxNnXrdxiuBQ

Is there a way to define completely the key in the options ?
If not, does this key remain the same given any environment ?
Because I need the full key in order to expire it

Thanks !

Alright, I'm gonna have to stop replying to support questions. For questions like this, please use stack overflow or whatever else community portal.