@webqit/webflo 1.0.29 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -191,6 +191,8 @@ export class WebfloServer extends WebfloRuntime {
|
|
|
191
191
|
const pgClient = new pg.Pool({
|
|
192
192
|
connectionString: process.env[this.#cx.server.capabilities.database_url_variable],
|
|
193
193
|
database: 'postgres',
|
|
194
|
+
idleTimeoutMillis: 30000, // 30 seconds,
|
|
195
|
+
keepAlive: true
|
|
194
196
|
});
|
|
195
197
|
// Connect
|
|
196
198
|
await pgClient.connect();
|