passing redis type in intiRedisPool