Merge pull request #58 from cpentra1/master

fix(initialization): bug fix for setting limit on number of connections ...
This commit is contained in:
Raymond Feng 2014-11-20 22:29:13 -08:00
commit 6147780d0d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}