Skip to content

Commit

Permalink
docs: add known issue on autoRemove native causing error on close
Browse files Browse the repository at this point in the history
  • Loading branch information
mingchuno committed Apr 13, 2021
1 parent bbff285 commit 94b65f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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).
Expand Down

0 comments on commit 94b65f6

Please sign in to comment.