redis 0.7 → 0.7.1
raw patch · 2 files changed
+4/−2 lines, 2 files
Files
- Database/Redis/Redis.hs +1/−1
- redis.cabal +3/−1
Database/Redis/Redis.hs view
@@ -418,7 +418,7 @@ -> s -- ^ target key -> Int -- ^ timeout in seconds -> IO (Reply Int)-expireAt r key timestamp = withState r (\rs -> sendCommand rs (CMBulk ["EXPIRE", toBS key, toBS timestamp]) >> recv rs)+expireAt r key timestamp = withState r (\rs -> sendCommand rs (CMBulk ["EXPIREAT", toBS key, toBS timestamp]) >> recv rs) -- | Return the remining time to live of the key or -1 if key has no -- associated timeout
redis.cabal view
@@ -1,5 +1,5 @@ Name: redis-Version: 0.7+Version: 0.7.1 License: MIT Maintainer: Alexander Bogdanov <andorn@gmail.com> Author: Alexander Bogdanov <andorn@gmail.com>@@ -21,6 +21,8 @@ - new commands added: watch, unwatch . - new batch command: run_cas+ .+ - fixed bug with expireAt - thanks to Alex Suraci . Stability: beta