Skip to content
Browse files

Bump to latest version of MongoDB binding

  • Loading branch information...
1 parent cb76fc4 commit 1f9fd4cfe71ec06e05db78fb2f9853ef2cad36dd @ozataman committed Apr 10, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 snap-extension-mongodb.cabal
  2. +1 −1 src/Snap/Extension/DB/MongoDB.hs
View
2 snap-extension-mongodb.cabal
@@ -29,7 +29,7 @@ Library
, bson
, compact-string-fix >= 0.3.1 && < 0.4
, containers >= 0.3
- , mongoDB == 0.9
+ , mongoDB == 0.9.5
, mtl >= 2 && < 3
, regular >= 0.3.2
, safe
View
2 src/Snap/Extension/DB/MongoDB.hs
@@ -138,7 +138,7 @@ mongoDBInitializer :: Host
-> Initializer MongoDBState
mongoDBInitializer h n db = do
mongoState <- liftIO $ do
- pool <- newConnPool Internet n h
+ pool <- newConnPool n h
return $ MongoDBState pool (Database db)
mkInitializer mongoState

0 comments on commit 1f9fd4c

Please sign in to comment.
Something went wrong with that request. Please try again.