Update redis.c

Interval set patch