A bit less noise from updates going to shards that has already shut down when stopping (#30969)

This commit is contained in:
Johan Andrén 2021-12-09 00:47:23 +01:00 committed by GitHub
parent 3ddd58ca42
commit 35c128b7d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -495,7 +495,7 @@ object ShardRegion {
* Used for passivation strategies that change limits based on the number of active shards.
*/
@InternalApi
private[akka] final case class ShardsUpdated(activeShards: Int)
private[akka] final case class ShardsUpdated(activeShards: Int) extends DeadLetterSuppression
/**
* INTERNAL API. Sends stopMessage (e.g. `PoisonPill`) to the entities and when all of