diff --git a/lib/client/index.js b/lib/client/index.js index acf4368..5f8fae3 100644 --- a/lib/client/index.js +++ b/lib/client/index.js @@ -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);