Keystone-classic: Warning: connect.session() MemoryStore is not designed for a production environment, as it will leak memory, and will not scale past a single process.

Created on 29 Apr 2018  路  2Comments  路  Source: keystonejs/keystone-classic

Expected behavior


Actual/Current behavior


Apr 29 07:35:46 ip-172-31-30-212.us-east-2.compute.internal keystone[1640]: memory, and will not scale past a single process.
Apr 29 07:35:46 ip-172-31-30-212.us-east-2.compute.internal keystone[1640]: designed for a production environment, as it will leak
Apr 29 07:35:46 ip-172-31-30-212.us-east-2.compute.internal keystone[1640]: Warning: connect.session() MemoryStore is not

Steps to reproduce the actual/current behavior


Environment

| Software | Version
| ---------------- | -------
| Keystone | 4.0.0-beta.8
| Node | v8.11.1

question

Most helpful comment

that can be avoided by configuring in session store in keystone.js like so:

keystone.set('session store', 'mongo')

you need to install it first:

npm install connect-mongo

All 2 comments

that can be avoided by configuring in session store in keystone.js like so:

keystone.set('session store', 'mongo')

you need to install it first:

npm install connect-mongo

@htor's solution is correct, I'm going to close this as answered.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

celiao picture celiao  路  4Comments

calebmcelroy picture calebmcelroy  路  3Comments

schybo picture schybo  路  3Comments

zhdan88vadim picture zhdan88vadim  路  5Comments

jacqueslareau picture jacqueslareau  路  5Comments