Skip to content

Commit

Permalink
do not retry connectivity commands in EdgeCommandForwarderActor
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed Jun 21, 2022
1 parent 543481a commit bd0420d
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,8 @@ private void forwardToConnectivity(final ConnectivityCommand<?> connectivityComm
"shard region", withEntityId.getEntityId(),
transformedConnectivityCommand.getType());

if (isIdempotent(transformedConnectivityCommand)) {
askWithRetryCommandForwarder.forwardCommand(transformedConnectivityCommand,
shardRegions.connections(),
sender);
} else {
shardRegions.connections().tell(transformedConnectivityCommand, sender);
}

// don't retry connectivity commands
shardRegions.connections().tell(transformedConnectivityCommand, sender);
});
} else {
log.withCorrelationId(connectivityCommand)
Expand Down

0 comments on commit bd0420d

Please sign in to comment.