@itentialopensource/adapter-db_mysql 0.1.15 → 0.1.16
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/CHANGELOG.md +8 -0
- package/adapter.js +4 -4
- package/package.json +1 -1
- package/refs?service=git-upload-pack +0 -0
package/CHANGELOG.md
CHANGED
package/adapter.js
CHANGED
|
@@ -217,17 +217,17 @@ class MySQL extends EventEmitter {
|
|
|
217
217
|
const origin = `${this.id}-${meth}`;
|
|
218
218
|
log.trace(origin);
|
|
219
219
|
|
|
220
|
-
log.info(
|
|
220
|
+
log.info('Creating connection pool to MySQL');
|
|
221
221
|
|
|
222
222
|
this.pool = mysql.createPool(this.config);
|
|
223
223
|
|
|
224
|
-
this.pool.on('acquire', (connection) => log.debug('Connection
|
|
224
|
+
this.pool.on('acquire', (connection) => log.debug('Connection acquired'));
|
|
225
225
|
|
|
226
|
-
this.pool.on('connection', (connection) => log.debug('New connection made within the pool
|
|
226
|
+
this.pool.on('connection', (connection) => log.debug('New connection made within the pool'));
|
|
227
227
|
|
|
228
228
|
this.pool.on('enqueue', () => log.debug('Waiting for available connection slot'));
|
|
229
229
|
|
|
230
|
-
this.pool.on('release', (connection) => log.debug('Connection
|
|
230
|
+
this.pool.on('release', (connection) => log.debug('Connection released'));
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
/**
|
package/package.json
CHANGED
|
Binary file
|