- marked as enhancement
- changed title to MicrosoftMTConnector - make retry/timeout values configurable
- marked as minor
- edited description
MicrosoftMTConnector - make retry/timeout values configurable
Issue #960
new
The error "Could not retrieve results from Microsoft MT after 5 attempts." happens approximately 20 times out of 1000 submissions
We’ve noticed that MicrosoftMTConnector.java class has some hardcoded settings:
private static final int RETRIES = 5; // number of times to try to get a response from Microsoft before failing
private static final int SLEEPPAUSE = 300; // DWH 5-3-2012 how long to wait before trying
static final int CONNECTION_TIMEOUT = 20 * 1000;
Would changing these settings reduce the number of failures because of connection interruption to MS Translator API?
Say, make RETRIES=10, or SLEEPPAUSE =1000?
If yes, could these settings be configurable?
Comments (2)
-
-
reporter - changed version to 1.40.0
Changed version to 1.40.0 - still have these numbers not configurable.
- Log in to comment