javascript - Solution: nodejs environment variable NODE_NEV issues a warning when starting in production mode
巴扎黑
巴扎黑 2017-07-03 11:41:40
0
1
935

There is no problem if you start the program in development mode, but switching to production mode will throw the following error:


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
巴扎黑
巴扎黑

reply all(1)
我想大声告诉你

Warning about the risk of memory leaks. Do not store cached data such as sessions directly in the host's memory.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template