7953-devToTest_2438 #2942

Merged
alexm merged 199 commits from 7953-devToTest_2438 into test 2024-09-10 07:22:31 +00:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit 9485434dc2 - Show all commits

View File

@ -342,6 +342,9 @@ exports.initialize = function initialize(dataSource, callback) {
} }
}; };
// Code extracted from original Loopback MySQL connector
// since it cannot be reused, please try not to alter it.
// https://github.com/loopbackio/loopback-connector-mysql/blob/v6.2.0/lib/mysql.js
MySQL.prototype.connect = function(callback) { MySQL.prototype.connect = function(callback) {
const self = this; const self = this;
const options = generateOptions(this.settings); const options = generateOptions(this.settings);

View File

@ -11,12 +11,16 @@
"port": "3306", "port": "3306",
"username": "root", "username": "root",
"password": "root", "password": "root",
"connectionLimit": 100,
"queueLimit": 100,
"multipleStatements": true, "multipleStatements": true,
"legacyUtcDateProcessing": false, "legacyUtcDateProcessing": false,
"timezone": "local", "timezone": "local",
"connectTimeout": 40000, "connectTimeout": 40000,
"acquireTimeout": 90000, "acquireTimeout": 90000,
"waitForConnections": true "waitForConnections": true,
"maxIdleTime": 60000,
"idleTimeout": 60000
}, },
"osticket": { "osticket": {
"connector": "memory", "connector": "memory",