mongodb-queue 0.2.5.1 → 0.2.5.2
raw patch · 2 files changed
+7/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Database/MongoDB/Queue.hs +6/−1
- mongodb-queue.cabal +1/−1
Database/MongoDB/Queue.hs view
@@ -88,7 +88,12 @@ def = WorkerOpts 100000 queueCollection -- | creates a QueueWorker--- Do not 'work' multiple times against the same QueueWorker+-- create a single QueueWorker per process (per queue collection)+-- call nextFromQueue with the QueueWorker to get the next message+--+-- QueueWorker is probably poorly named now with the direction the library has taken.+-- To handle multiple messages at once use the setup mentioned above with just 1 QueueWorker.+-- But immediately hand off messages from nextFromQueue to worker threads (this library does not help you create worker threads) createWorker :: DBRunner -> IO QueueWorker createWorker = mkWorker def
mongodb-queue.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: mongodb-queue-version: 0.2.5.1+version: 0.2.5.2 synopsis: a message queue using MongoDB -- description: homepage: https://github.com/docmunch/haskell-mongodb-queue