diff --git a/README.md b/README.md index d5d6457..b017dfd 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ MongoDB session store for [Connect](https://github.com/senchalabs/connect) and [ - [Express or Connect integration](#express-or-connect-integration) - [Connection to MongoDB](#connection-to-mongodb) - [Known issues](#known-issues) + - [Native autoRemove causing error on close](#native-autoremove-causing-error-on-close) - [MongoError exports circular dependency](#mongoerror-exports-circular-dependency) - [Events](#events) - [Session expiration](#session-expiration) @@ -132,6 +133,10 @@ app.use(session({ [Known issues](https://github.com/jdesboeufs/connect-mongo/issues?q=is%3Aopen+is%3Aissue+label%3Abug) in GitHub Issues page. +### Native autoRemove causing error on close + +- Calling `close()` immediately after creating the session store may cause error when the async index creation is in process when `autoRemove: 'native'`. You may want to manually manage the autoRemove index. [#413](https://github.com/jdesboeufs/connect-mongo/issues/413) + ### MongoError exports circular dependency The following error can be safely ignore from [official reply](https://developer.mongodb.com/community/forums/t/warning-accessing-non-existent-property-mongoerror-of-module-exports-inside-circular-dependency/15411/5).