hedis 0.14.2 → 0.14.3
raw patch · 4 files changed
+9/−3 lines, 4 filesdep ~basedep ~resource-poolPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, resource-pool
API changes (from Hackage documentation)
Files
- CHANGELOG +4/−0
- hedis.cabal +1/−1
- src/Database/Redis/PubSub.hs +3/−1
- src/Database/Redis/Transactions.hs +1/−1
CHANGELOG view
@@ -1,5 +1,9 @@ # Changelog for Hedis +## 0.14.3++* PR #171. Support GHC 9+ ## 0.14.2 * PR #163. support for redis 6.0 COMMAND format
hedis.cabal view
@@ -1,5 +1,5 @@ name: hedis-version: 0.14.2+version: 0.14.3 synopsis: Client library for the Redis datastore: supports full command set, pipelining.
src/Database/Redis/PubSub.hs view
@@ -545,11 +545,13 @@ -- main = do -- conn <- connect defaultConnectInfo -- pubSubCtrl <- newPubSubController [("mychannel", myhandler)] []--- forkIO $ forever $+-- concurrently ( forever $ -- pubSubForever conn pubSubCtrl onInitialComplete -- \`catch\` (\\(e :: SomeException) -> do -- putStrLn $ "Got error: " ++ show e -- threadDelay $ 50*1000) -- TODO: use exponential backoff+-- ) $ restOfYourProgram+-- -- -- {- elsewhere in your program, use pubSubCtrl to change subscriptions -} -- @
src/Database/Redis/Transactions.hs view
@@ -41,7 +41,7 @@ -- future index in EXEC result list i <- get put (i+1)- return $ Queued (decode . (!i))+ return $ Queued (decode . (! i)) -- |A 'Queued' value represents the result of a command inside a transaction. It -- is a proxy object for the /actual/ result, which will only be available