Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r343 - trunk/java/ch/idok/dmsd/impl/extractor/microsoft

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r343 - trunk/java/ch/idok/dmsd/impl/extractor/microsoft


Chronological Thread 
  • From: "AFS account Stadler Hans Christian" <stadler_h AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r343 - trunk/java/ch/idok/dmsd/impl/extractor/microsoft
  • Date: Thu, 12 Mar 2009 22:01:13 +0100
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: stadler_h
Date: Thu Mar 12 22:01:12 2009
New Revision: 343

Log:
Dynamically increasing connection delay period

Modified:

trunk/java/ch/idok/dmsd/impl/extractor/microsoft/MSOfficeExtractorFactory.java

Modified:
trunk/java/ch/idok/dmsd/impl/extractor/microsoft/MSOfficeExtractorFactory.java
==============================================================================
---
trunk/java/ch/idok/dmsd/impl/extractor/microsoft/MSOfficeExtractorFactory.java
(original)
+++
trunk/java/ch/idok/dmsd/impl/extractor/microsoft/MSOfficeExtractorFactory.java
Thu Mar 12 22:01:12 2009
@@ -510,10 +510,11 @@
} catch (Throwable ex) {
logger.finest("Can't connect to OO, "+retry+" retries
remaining\n"+ex);
connectEx = ex;
- Thread.sleep(reconnectDelay);
} finally {
watchdog.cancel();
}
+ if (unoObj == null)
+ Thread.sleep(reconnectDelay * (30 - retry));

}
timer.cancel();




  • [idok-commit] idok commit r343 - trunk/java/ch/idok/dmsd/impl/extractor/microsoft, AFS account Stadler Hans Christian, 03/12/2009

Archive powered by MHonArc 2.6.19.

Top of Page