According to the Redis manual, it assumes the server version is at least 2.6.12. I'd rather just use SETEX (which is not deprecated yet) instead of forcing to upgrade.

http://redis.io/commands/set