[java-support] branch maint-7 updated: Try to fix IdleSweeperTest (again)

Rod Widdowson rdw at steadingsoftware.com
Wed Jul 3 08:06:31 EDT 2019


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch maint-7
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=0d19e30b3edf80daa9eaf121ce1a96c7f4a3ee32

The following commit(s) were added to refs/heads/maint-7 by this push:
       new  0d19e30   Try to fix IdleSweeperTest (again)
0d19e30 is described below

commit 0d19e30b3edf80daa9eaf121ce1a96c7f4a3ee32
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Jul 3 13:06:11 2019 +0100

    Try to fix IdleSweeperTest (again)
---
 .../utilities/java/support/httpclient/IdleConnectionSweeper.java       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main/java/net/shibboleth/utilities/java/support/httpclient/IdleConnectionSweeper.java b/src/main/java/net/shibboleth/utilities/java/support/httpclient/IdleConnectionSweeper.java
index cb68fce..d435d5c 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/httpclient/IdleConnectionSweeper.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/httpclient/IdleConnectionSweeper.java
@@ -84,9 +84,8 @@ public class IdleConnectionSweeper implements DestructableComponent {
 
         sweeper = new TimerTask() {
             public void run() {
-                connectionManager.closeIdleConnections(idleTimeout, TimeUnit.MILLISECONDS);
                 executionTime = System.currentTimeMillis();
-
+                connectionManager.closeIdleConnections(idleTimeout, TimeUnit.MILLISECONDS);
             }
         };
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list