Skip to content

Conversation

alexvaluyskiy
Copy link
Contributor

  • added an abstract IDecider property to an abstract SupervisorStrategy class
  • added "child" parameter to ProcessFailure method

@@ -385,7 +385,7 @@ private void FinishRecreate(Exception cause, ActorBase failedActor)
var statsUid = childStats.Child.Path.Uid;
if (statsUid == f.Uid)
{
var handled = _actor.SupervisorStrategyInternal.HandleFailure(this, f.Cause, childStats, ChildrenContainer.Stats);
var handled = _actor.SupervisorStrategyInternal.HandleFailure(this, failedChild, f.Cause, childStats, ChildrenContainer.Stats);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this part. Why not just _actor.SupervisorStrategy?

@alexvaluyskiy
Copy link
Contributor Author

@akkadotnet/core ready for review

@Danthar
Copy link
Member

Danthar commented Jul 28, 2016

LGTM

@Danthar Danthar merged commit 1f3762d into akkadotnet:dev Jul 28, 2016
@alexvaluyskiy alexvaluyskiy deleted the supervisionupdate branch July 28, 2016 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants