ItzNotABug / ghosler

Send newsletter emails to your Ghost CMS subscribers & members, using your own email credentials!
Apache License 2.0
40 stars 5 forks source link

Warning on `connect.session()` #16

Closed ItzNotABug closed 6 months ago

ItzNotABug commented 6 months ago

express-session creates a warning on a production environment -

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

The alternative might be using cookie-session.


Reference - https://stackoverflow.com/a/59629154/6819340