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

use redis.set instead of setnx and expire