Permalink
Browse files

Issue #19296 fix pg pool size defaults.

  • Loading branch information...
1 parent 71f322d commit b8ee425e3c4468b1a343b94bea49603adf556b3c @bendiy committed Apr 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 node-datasource/xt/database/database.js
@@ -12,7 +12,7 @@ regexp:true, undef:true, strict:true, trailing:true, white:true */
@extends X.Object
*/
X.Database = X.Object.extend(/** @lends X.Database */{
- poolSize: X.options && X.options.datasource & X.options.datasource.pgPoolSize ? X.options.datasource.pgPoolSize : 15,
+ poolSize: X.options && X.options.datasource && (typeof X.options.datasource.pgPoolSize !== 'undefined') ? X.options.datasource.pgPoolSize : 1,
className: "X.Database",
cleanupCompletedEvent: "cleanupCompleted",

0 comments on commit b8ee425

Please sign in to comment.