Skip to content

Commit 5127aef

Browse files
committed
Update lib/Resque/Redis.php
Add SETEX to the list of commands which supply a key as the first argument.
1 parent 5fdc360 commit 5127aef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Resque/Redis.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class Resque_Redis extends Redisent
3333
'ttl',
3434
'move',
3535
'set',
36+
'setex',
3637
'get',
3738
'getset',
3839
'setnx',
@@ -129,4 +130,4 @@ public static function removePrefix($string)
129130
return $string;
130131
}
131132
}
132-
?>
133+
?>

0 commit comments

Comments
 (0)