Permalink
Browse files

Update lib/Resque/Redis.php

Add SETEX to the list of commands which supply a key as the first argument.
  • Loading branch information...
1 parent 5fdc360 commit 5127aefa904773de899dfe1394bbcc3bbd0196fd @danhunsaker danhunsaker committed Jan 11, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Resque/Redis.php
View
@@ -33,6 +33,7 @@ class Resque_Redis extends Redisent
'ttl',
'move',
'set',
+ 'setex',
'get',
'getset',
'setnx',
@@ -129,4 +130,4 @@ public static function removePrefix($string)
return $string;
}
}
-?>
+?>

0 comments on commit 5127aef

Please sign in to comment.