struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/util GenericDataSource.java
Date Sat, 20 Jul 2002 17:41:17 GMT
craigmcc    2002/07/20 10:41:17

  Modified:    src/share/org/apache/struts/util GenericDataSource.java
  Log:
  Adopt defaults for maxActive (8) and maxIdle (8) that correspond to what
  org.apache.commons.dbcp.BasicDataSource now sets up (as of the fix for
  Bugzilla #10969).
  
  Revision  Changes    Path
  1.14      +6 -6      jakarta-struts/src/share/org/apache/struts/util/GenericDataSource.java
  
  Index: GenericDataSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/GenericDataSource.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- GenericDataSource.java	30 Jun 2002 03:38:30 -0000	1.13
  +++ GenericDataSource.java	20 Jul 2002 17:41:17 -0000	1.14
  @@ -137,7 +137,7 @@
       /**
        * The maximum number of connections to be created.
        */
  -    protected int maxCount = 2;
  +    protected int maxCount = 8;
   
       public int getMaxCount() {
           return (this.maxCount);
  @@ -152,7 +152,7 @@
        * The maximum number of idle connections allowed before starting
        * to release them, or zero for no limit.
        */
  -    protected int maxIdle = 0;
  +    protected int maxIdle = 8;
   
       public int getMaxIdle() {
           return (this.maxIdle);
  
  
  

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message