fix(initialization): bug fix for setting limit on number of connections in connection pool

This commit is contained in:
cpentra1 2014-11-21 00:58:02 -05:00
parent 4ca9410fbc
commit 7cf69dbcb9
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;
}