experimental: refactoring for pg pool

This commit is contained in:
Mikayla Dobson
2022-07-05 11:04:16 -05:00
parent d84675910a
commit e2ab4c3b28
3 changed files with 14 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ module.exports = (app) => {
store: new (require('connect-pg-simple')(session))({
conString: process.env.CONNECTION,
createTableIfMissing: true,
pruneSessionInterval: 60 * 30
})
}));
}