fix(initialization): bug fix for setting limit on number of connections in connection pool
This commit is contained in:
parent
4ca9410fbc
commit
7cf69dbcb9
|
@ -34,7 +34,7 @@ exports.initialize = function initializeDataSource(dataSource, callback) {
|
|||
s.supportBigNumbers = (s.supportBigNumbers || false);
|
||||
s.timezone = (s.timezone || 'local');
|
||||
|
||||
if (!isNaN(s.connectionLimit)) {
|
||||
if (isNaN(s.connectionLimit)) {
|
||||
s.connectionLimit = 10;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue