如果用开发模式启动程序是没有问题的,但是切换到生产模式就会抛出以下错误:
Warning:connect.session() MemoryStore is not designed for a production environment, as it will leakmemory, and will not scale past a single process.server connect,the port:3030
如果用开发模式启动程序是没有问题的,但是切换到生产模式就会抛出以下错误:
Warning:connect.session() MemoryStore is not designed for a production environment, as it will leakmemory, and will not scale past a single process.server connect,the port:3030
10 回答11.7k 阅读
2 回答3.2k 阅读✓ 已解决
4 回答2.2k 阅读✓ 已解决
3 回答1.2k 阅读✓ 已解决
3 回答860 阅读✓ 已解决
2 回答2.1k 阅读✓ 已解决
5 回答2.3k 阅读
内存泄漏风险的警告,不要直接在宿主机的内存中存放 session 等缓存数据。