Comparing version 3.3.4 to 3.3.5
@@ -57,3 +57,5 @@ // This file was modified by Oracle on June 1, 2021. | ||
if (this.config.enableKeepAlive) { | ||
this.stream.setKeepAlive(true, this.config.keepAliveInitialDelay); | ||
this.stream.on('connect', () => { | ||
this.stream.setKeepAlive(true, this.config.keepAliveInitialDelay); | ||
}); | ||
} | ||
@@ -60,0 +62,0 @@ |
{ | ||
"name": "mysql2", | ||
"version": "3.3.4", | ||
"version": "3.3.5", | ||
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,3 +7,3 @@ | ||
import {EventEmitter} from 'events'; | ||
import {PoolConnection as PromisePoolConnection} from '../../../promise'; | ||
import {Pool as PromisePool} from '../../../promise'; | ||
@@ -82,5 +82,5 @@ declare namespace Pool { | ||
promise(promiseImpl?: PromiseConstructor): PromisePoolConnection; | ||
promise(promiseImpl?: PromiseConstructor): PromisePool; | ||
} | ||
export = Pool; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
592410
14270