-
-
Notifications
You must be signed in to change notification settings - Fork 987
Split MemoryStore in a separate module + avoid memory leaks #487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 9 commits
0baa872
e1c37d4
0dbf4bb
7f5485e
84f2848
ebcb0ac
8272751
e41a72e
8b7a7d3
29d164e
aff26c5
aa96595
11cb3f6
0161045
9ca76db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,8 +35,7 @@ and writes cookies on `req`/`res`. Using `cookie-parser` may result in issues | |
if the `secret` is not the same between this module and `cookie-parser`. | ||
|
||
**Warning** The default server-side session storage, `MemoryStore`, is _purposely_ | ||
not designed for a production environment. It will leak memory under most | ||
conditions, does not scale past a single process, and is meant for debugging and | ||
not designed for a production environment. It does not scale past a single process, and is meant for debugging and | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please wrap at 80 characters. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
developing. | ||
|
||
For a list of stores, see [compatible session stores](#compatible-session-stores). | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
"crc": "3.4.4", | ||
"debug": "2.6.8", | ||
"depd": "~1.1.0", | ||
"memorystore": "~1.2.4", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove the |
||
"on-headers": "~1.0.1", | ||
"parseurl": "~1.3.1", | ||
"uid-safe": "~2.1.4", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dougwilson I believe you wanted the README to be 80 character wrap?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea