Merge b1572c93a1
into 5d2965ffc5
commit
69f3e72a03
|
@ -7,7 +7,7 @@ const {Pool} = require('pg');
|
|||
|
||||
// A postgres document store
|
||||
var PostgresDocumentStore = function (options) {
|
||||
this.expireJS = options.expire;
|
||||
this.expireJS = parseInt(options.expire);
|
||||
|
||||
const connectionString = process.env.DATABASE_URL || options.connectionUrl;
|
||||
this.pool = new Pool({connectionString});
|
||||
|
|
Loading…
Reference in New Issue