derbyjs / racer

Realtime model synchronization engine for Node.js
1.19k stars 118 forks source link

False warning re MemoryStore when using connect-mongo #52

Closed Ziink closed 11 years ago

Ziink commented 11 years ago

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 commented 11 years ago

No longer relevant in 0.5