Milliseconds, moron.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 16 Mar 2004 05:46:21 +0000 (05:46 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 16 Mar 2004 05:46:21 +0000 (05:46 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@918 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/attrresolv/provider/JDBCDataConnector.java

index 93c60c9..6922e8c 100644 (file)
@@ -318,7 +318,7 @@ public class JDBCDataConnector extends BaseDataConnector implements DataConnecto
         boolean alive = true;
         long now = System.currentTimeMillis();
         synchronized(this) {
-               if (deadSince > 0 && now - deadSince < retryInterval) {
+               if (deadSince > 0 && now - deadSince < (1000*retryInterval)) {
                 alive = false;
             }
             else {