orlandos-nl / MongoKitten

Native MongoDB driver for Swift, written in Swift

Home Page:https://orlandos.nl/docs/mongokitten/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use connection pool with MongoKitten 4

wenxini234 opened this issue · comments

How to use connection pool with MongoKitten 4?

eg: let db = try MongoKitten.Database(Constants.mongoUrl)

Sorry about the late reply, we completely missed this. MongoKitten has it's own internal connection pool, so you don't need to worry about this at all.