Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Issue #19296 fix pg pool size defaults.

  • Loading branch information...
commit b8ee425e3c4468b1a343b94bea49603adf556b3c 1 parent 71f322d
authored April 01, 2013
2  node-datasource/xt/database/database.js
@@ -12,7 +12,7 @@ regexp:true, undef:true, strict:true, trailing:true, white:true */
12 12
   @extends X.Object
13 13
  */
14 14
   X.Database = X.Object.extend(/** @lends X.Database */{
15  
-    poolSize: X.options && X.options.datasource & X.options.datasource.pgPoolSize ? X.options.datasource.pgPoolSize : 15,
  15
+    poolSize: X.options && X.options.datasource && (typeof X.options.datasource.pgPoolSize !== 'undefined') ? X.options.datasource.pgPoolSize : 1,
16 16
     className: "X.Database",
17 17
     cleanupCompletedEvent: "cleanupCompleted",
18 18
 

0 notes on commit b8ee425

Please sign in to comment.
Something went wrong with that request. Please try again.