more work on timeouts

This commit is contained in:
Grahame Grieve 2020-08-13 17:58:36 +10:00
parent dc2126c786
commit 67f7176d3b
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ public class ClientUtils {
} catch (InterruptedException e) {
}
} else {
if (tryCount > 1) {
if (tryCount > 4) {
System.out.println("Giving up: "+ioe.getMessage()+" (R5 / "+(System.currentTimeMillis()-t)+"ms / "+Utilities.describeSize(payload.length)+" for "+message+")");
}
throw new EFhirClientException("Error sending HTTP Post/Put Payload: "+ioe.getMessage(), ioe);