Skip to content

Commit

Permalink
Retry transmission on client side exception
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Jul 15, 2020
1 parent 4a8eba2 commit 3988c87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ boolean validateTransmissionAndSend(TransmissionHandlerArgs args) {
case TransmissionSendResult.REQUEST_TIMEOUT:
case TransmissionSendResult.INTERNAL_SERVER_ERROR:
case TransmissionSendResult.SERVICE_UNAVAILABLE:
case TransmissionSendResult.CLIENT_SIDE_EXCEPTION:
backoffAndSendTransmission(args);
return true;
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ final class TransmissionSendResult {
public final static int THROTTLED_OVER_EXTENDED_TIME = 439;
public final static int INTERNAL_SERVER_ERROR = 500;
public final static int SERVICE_UNAVAILABLE = 503;
public final static int CLIENT_SIDE_EXCEPTION = 0;
}

0 comments on commit 3988c87

Please sign in to comment.