use redis.set instead of setnx and expire
Merge pull request #2 from Clever/use_set_ex_nx

use redis.set instead of setnx and expire