Date: 2020-08-08 18:44:28
Score: 4
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?

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