Skip to content

Commit

Permalink
RestartShard handled on Shard (#3509)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbynek001 authored and Aaronontheweb committed Jun 14, 2018
1 parent 5cf4ea6 commit fff8ae4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/contrib/cluster/Akka.Cluster.Sharding/Shard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ internal static class Shards
case Shard.IShardQuery sq:
shard.HandleShardRegionQuery(sq);
return true;
case ShardRegion.RestartShard _:
return true;
case var _ when shard.ExtractEntityId(message) != null:
shard.DeliverMessage(message, shard.Context.Sender);
return true;
Expand Down

0 comments on commit fff8ae4

Please sign in to comment.