如果用开发模式启动程序是没有问题的,但是切换到生产模式就会抛出以下错误:
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
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
内存泄漏风险的警告,不要直接在宿主机的内存中存放 session 等缓存数据。