Merge pull request #86 from kevinykchan/master

Setting maxConnections value to 1 should not create a ClientPool
This commit is contained in:
Mark Cavage 2012-08-29 11:22:18 -07:00
commit 97ed537174
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ module.exports = {
if (typeof (options.log) !== 'object')
throw new TypeError('options.log must be an object');
if (options.maxConnections >= 1)
if (options.maxConnections > 1)
return new ClientPool(options);
return new Client(options);