Skip to content

Commit

Permalink
Sequentialize all twin commands for a signle entity
Browse files Browse the repository at this point in the history
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
  • Loading branch information
Yannic92 committed Jul 18, 2022
1 parent b95498b commit 582ae4f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,7 @@ private void enforceAndForwardToTargetActor(final Object message) {
* @return whether the supervisor should become signal processing awaiting for the passed signal.
*/
protected boolean shouldBecomeTwinSignalProcessingAwaiting(final Signal<?> signal) {
return !Signal.isChannelLive(signal) && !Signal.isChannelSmart(signal) &&
signal instanceof Command<?> command &&
Command.Category.isEntityModifyingCommand(command.getCategory());
return !Signal.isChannelLive(signal) && !Signal.isChannelSmart(signal);
}

private void handleSignalEnforcementResponse(@Nullable final Object response,
Expand Down

0 comments on commit 582ae4f

Please sign in to comment.