Correct argument order for redis setex

Correct the argument order passed to redis setex (name, time, value)