finish redis config