Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr committed Nov 5, 2024
1 parent 71dfe6b commit 653cacd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class ShardManager(
.map(_.flatten[PodAddress].toSet)
failedPods = failedPingedPods ++ failedUnassignedPods ++ failedAssignedPods
// check if failing pods are still up
_ <- ZIO.foreachDiscard(failedPods)(notifyUnhealthyPod).forkDaemon
_ <- ZIO.foreachDiscard(failedPods)(notifyUnhealthyPod(_)).forkDaemon
_ <- ZIO.logWarning(s"Failed to rebalance pods: $failedPods").when(failedPods.nonEmpty)
// retry rebalancing later if there was any failure
_ <- (Clock.sleep(config.rebalanceRetryInterval) *> rebalance(rebalanceImmediately)).forkDaemon
Expand Down

0 comments on commit 653cacd

Please sign in to comment.