We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1092057 + ecb58db commit 06e600aCopy full SHA for 06e600a
2 files changed
index.js
@@ -66,8 +66,20 @@ class Client_AuroraDataMySQL extends Client_MySQL { // eslint-disable-line camel
66
67
_driver () {
68
const RDSDataService = require('aws-sdk/clients/rdsdataservice');
69
+ const https = require('https');
70
- return new RDSDataService(this.config.connection.sdkConfig);
71
+ const agent = new https.Agent({
72
+ keepAlive: true
73
+ });
74
+
75
+ const config = {
76
+ httpOptions: {
77
+ agent
78
+ },
79
+ ...(this.config.connection.sdkConfig || {})
80
+ };
81
82
+ return new RDSDataService(config);
83
}
84
85
acquireRawConnection () {
0 commit comments