Enduro icon indicating copy to clipboard operation
Enduro copied to clipboard

Warning: connect.session() MemoryStore is not designed for a production environmen

Open karneaud opened this issue 7 years ago • 3 comments

Ran into the following during a heroic installation deployment

[email protected] start /tmp/build_da509f8a08a3a5d48864163897dcb7f7 enduro start Warning: connect.session() MemoryStore is not designed for a production environment, as it will leak memory, and will not scale past a single process.

Starts but not sure what is the problem here.

karneaud avatar Oct 25 '17 01:10 karneaud

This is a big problem as enduro will not scale past a single instance. Why not have JWT based sessions instead?

adrianObel avatar Feb 22 '18 17:02 adrianObel

+1 for @adrianObel comment

karneaud avatar Feb 23 '18 00:02 karneaud

I can build this feature and submit a PR if @Gottwik agrees. It should be fairly simple to switch over.

adrianObel avatar Feb 23 '18 02:02 adrianObel