當我到我的應用程序被推送到Heroku時,需要很長時間才能加載。我等待它加載,但它有一個錯誤。奇怪的是,昨天去網站很好,我今天晚些時候也能夠正常加載網站。然而,當我得到了錯誤,我查Heroku的日誌,並得到了這樣的警告:Heroku日誌中這條警告的意思是什麼
2017-10-15T06:19:09.735366+00:00 app[web.1]: > node index.js
2017-10-15T06:19:09.735365+00:00 app[web.1]: > [email protected] start /app
2017-10-15T06:19:09.735367+00:00 app[web.1]:
2017-10-15T06:19:10.515212+00:00 app[web.1]: Warning: connect.session() MemoryStore is not
2017-10-15T06:19:10.515232+00:00 app[web.1]: designed for a production environment, as it will leak
2017-10-15T06:19:10.515233+00:00 app[web.1]: memory, and will not scale past a single process.
我得到在我的代碼的東西是不適合生產,但我不知道這是指它的我的代碼部分至。我使用passport.js進行授權,並使用Google和Facebook策略進行連線,並且在我的index.js中使用express-session軟件包。這是警告指向的是什麼?有人可以解釋這個警告可能意味着什麼嗎?