False warning re MemoryStore when using connect-mongo #52

Closed
Ziink opened this Issue Nov 16, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@Ziink

Ziink commented Nov 16, 2012

Set NODE_ENV=production in chat example and you get the warning:

Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.

Racer patches the memory store to redirect to a persistent store, yet 'connect' gives the above warning.

The easiest fix might be to check for the persistent store and alert user to ignore the following warning.

@nateps

This comment has been minimized.

Show comment Hide comment
@nateps

nateps Jun 4, 2013

Contributor

No longer relevant in 0.5

Contributor

nateps commented Jun 4, 2013

No longer relevant in 0.5

@nateps nateps closed this Jun 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment