Fixed error in configuration because change the way init redis.