let config take a redis instance