63318444

Date: 2020-08-08 18:44:28
Score: 4
Natty:
Report link

After mongoose.set, I put this: app.use(cookieSession({ maxAge: 246060*1000, //24horas keys: [restricted.cookieSession.keys] }))

But the message still appears: "Warning: connect.session() MemoryStore is not designed for a production environment, as it will leak memory, and will not scale past a single process." What else could I change?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Isadora Bastos