When server container is deployed to production, this error is encountered:
"Warning The default server-side session storage, MemoryStore, is purposely not designed for a production environment. It will leak memory under most conditions, does not scale past a single process, and is meant for debugging and developing."
Among a list of compatible session stores for express-session, I have chosen memorystore for its ability to avoid memory leaks.
When
server
container is deployed to production, this error is encountered: "Warning The default server-side session storage, MemoryStore, is purposely not designed for a production environment. It will leak memory under most conditions, does not scale past a single process, and is meant for debugging and developing."Among a list of compatible session stores for
express-session
, I have chosenmemorystore
for its ability to avoid memory leaks.