Use LRU cache as default mechanism for caching in memory (#3979)

* Use LRU cache as default mechanism for caching in memory

* Return null as what’s expected
This commit is contained in:
Florent Vilmart
2017-06-30 16:54:35 -04:00
committed by GitHub
parent 29c2fad671
commit 95430bb4e8
4 changed files with 40 additions and 3 deletions

View File

@@ -32,6 +32,8 @@ export default {
expireInactiveSessions: true,
revokeSessionOnPasswordReset: true,
schemaCacheTTL: 5000, // in ms
cacheTTL: 5000,
cacheMaxSize: 10000,
userSensitiveFields: ['email'],
objectIdSize: 10
}