Skip to content

Commit

Permalink
upgraded to Akka.NET v1.5.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Jan 10, 2024
1 parent ce834b6 commit 6b451c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<NetRuntime>net6.0</NetRuntime>
<XunitVersion>2.4.2</XunitVersion>
<TestSdkVersion>17.6.0</TestSdkVersion>
<AkkaVersion>1.5.7</AkkaVersion>
<PbmVersion>1.3.1</PbmVersion>
<AkkaHostingVersion>1.5.5</AkkaHostingVersion>
<AkkaVersion>1.5.15</AkkaVersion>
<PbmVersion>1.3.2</PbmVersion>
<AkkaHostingVersion>1.5.15</AkkaHostingVersion>
<MicrosoftExtensionsVersion>[7.0.0,)</MicrosoftExtensionsVersion>
</PropertyGroup>
<!-- SourceLink support for all Akka.NET projects -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ async Task<ProductCommandResponse> ReplyToSender()
await Task.Delay(1);
return response;
}

ReplyToSender().PipeTo(Sender, failure: ex => new Status.Failure(ex));
var sender = Sender;
ReplyToSender().PipeTo(sender, failure: ex => new Status.Failure(ex));

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ public sealed class ProductMessageRouter : HashCodeMessageExtractor
return productId.ProductId;
}

// need this for remember-entities
if (message is ShardRegion.StartEntity se)
return se.EntityId;

return null;
}
}

0 comments on commit 6b451c5

Please sign in to comment.