osmlab / to-fix-backend

The to-fix server
BSD 3-Clause "New" or "Revised" License
15 stars 13 forks source link

express-session memory leak #152

Closed emilymdubois closed 6 years ago

emilymdubois commented 7 years ago

Seeing the following error with regard to the following lines:

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

https://github.com/osmlab/to-fix-backend/blob/4961c276d4ba609e804494203601a4c79d2f8de5/lib/server.js#L33-L40

batpad commented 6 years ago

This was fixed, we now use the database as the session store backend and things look good.