Merge pull request #58 from cpentra1/master
fix(initialization): bug fix for setting limit on number of connections ...
This commit is contained in:
commit
6147780d0d
|
@ -34,7 +34,7 @@ exports.initialize = function initializeDataSource(dataSource, callback) {
|
||||||
s.supportBigNumbers = (s.supportBigNumbers || false);
|
s.supportBigNumbers = (s.supportBigNumbers || false);
|
||||||
s.timezone = (s.timezone || 'local');
|
s.timezone = (s.timezone || 'local');
|
||||||
|
|
||||||
if (!isNaN(s.connectionLimit)) {
|
if (isNaN(s.connectionLimit)) {
|
||||||
s.connectionLimit = 10;
|
s.connectionLimit = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue