From 5127aefa904773de899dfe1394bbcc3bbd0196fd Mon Sep 17 00:00:00 2001 From: Daniel Hunsaker Date: Fri, 11 Jan 2013 13:40:39 -0700 Subject: [PATCH] Update lib/Resque/Redis.php Add SETEX to the list of commands which supply a key as the first argument. --- lib/Resque/Redis.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Resque/Redis.php b/lib/Resque/Redis.php index 5e18a01..dcfc47d 100644 --- a/lib/Resque/Redis.php +++ b/lib/Resque/Redis.php @@ -33,6 +33,7 @@ class Resque_Redis extends Redisent 'ttl', 'move', 'set', + 'setex', 'get', 'getset', 'setnx', @@ -129,4 +130,4 @@ class Resque_Redis extends Redisent return $string; } } -?> \ No newline at end of file +?>