set redis config