You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rw...@apache.org on 2002/10/30 01:55:06 UTC
cvs commit: jakarta-commons/pool/src/java/org/apache/commons/pool/impl GenericObjectPool.java
rwaldhoff 2002/10/29 16:55:06
Modified: pool/src/java/org/apache/commons/pool/impl
GenericObjectPool.java
Log:
fix bugzilla bug #12841 -- use sleeptime instead of _timeBetweenEvictionRunsMillis in sleep call, in case _timeBetweenEvictionRuns is changing
Revision Changes Path
1.8 +5 -5 jakarta-commons/pool/src/java/org/apache/commons/pool/impl/GenericObjectPool.java
Index: GenericObjectPool.java
===================================================================
RCS file: /home/cvs/jakarta-commons/pool/src/java/org/apache/commons/pool/impl/GenericObjectPool.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- GenericObjectPool.java 5 Sep 2002 18:10:06 -0000 1.7
+++ GenericObjectPool.java 30 Oct 2002 00:55:06 -0000 1.8
@@ -899,7 +899,7 @@
sleeptime = _timeBetweenEvictionRunsMillis;
}
try {
- Thread.currentThread().sleep(_timeBetweenEvictionRunsMillis);
+ Thread.currentThread().sleep(sleeptime);
} catch(Exception e) {
; // ignored
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>