more work on timeouts
This commit is contained in:
parent
dc2126c786
commit
67f7176d3b
|
@ -310,7 +310,7 @@ public class ClientUtils {
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
}
|
}
|
||||||
} else {
|
} 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+")");
|
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);
|
throw new EFhirClientException("Error sending HTTP Post/Put Payload: "+ioe.getMessage(), ioe);
|
||||||
|
|
Loading…
Reference in New Issue