Revert "Revert "changes in redis file""

This reverts commit 0bc406754429eb378eb245d05a06ef449d6f2393.