We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fe838f commit 1702928Copy full SHA for 1702928
packages/cubejs-jdbc-driver/src/JDBCDriver.ts
@@ -183,6 +183,14 @@ export class JDBCDriver extends BaseDriver {
183
acquireTimeoutMillis: 120000,
184
...(poolOptions || {})
185
}) as ExtendedPool;
186
+
187
+ // https://github.com/coopernurse/node-pool/blob/ee5db9ddb54ce3a142fde3500116b393d4f2f755/README.md#L220-L226
188
+ this.pool.on('factoryCreateError', (err) => {
189
+ this.databasePoolError(err);
190
+ });
191
+ this.pool.on('factoryDestroyError', (err) => {
192
193
194
}
195
196
protected async getCustomClassPath() {
0 commit comments