fix: linter formatting and improve code readability
Build & Test (NowChessSystems) TeamCity build finished
Build & Test (NowChessSystems) TeamCity build finished
This commit is contained in:
@@ -264,6 +264,7 @@
|
||||
- class CacheEvictionManager
|
||||
- function setRedisPrefix
|
||||
- function initializeMetrics
|
||||
- function periodicCacheEviction
|
||||
- function evictStaleGames
|
||||
- `modules/coordinator/src/main/scala/de/nowchess/coordinator/service/FailoverService.scala`
|
||||
- class FailoverService
|
||||
@@ -289,6 +290,7 @@
|
||||
- function setRedisPrefix
|
||||
- function shouldRebalance
|
||||
- function rebalance
|
||||
- function periodicRebalanceCheck
|
||||
- `modules/core/src/main/scala/de/nowchess/chess/adapter/RuleSetRestAdapter.scala`
|
||||
- class RuleSetRestAdapter
|
||||
- function candidateMoves
|
||||
|
||||
@@ -208,6 +208,7 @@
|
||||
- class CacheEvictionManager
|
||||
- function setRedisPrefix
|
||||
- function initializeMetrics
|
||||
- function periodicCacheEviction
|
||||
- function evictStaleGames
|
||||
- `modules/coordinator/src/main/scala/de/nowchess/coordinator/service/FailoverService.scala`
|
||||
- class FailoverService
|
||||
@@ -233,6 +234,7 @@
|
||||
- function setRedisPrefix
|
||||
- function shouldRebalance
|
||||
- function rebalance
|
||||
- function periodicRebalanceCheck
|
||||
- `modules/core/src/main/scala/de/nowchess/chess/adapter/RuleSetRestAdapter.scala`
|
||||
- class RuleSetRestAdapter
|
||||
- function candidateMoves
|
||||
|
||||
+5
-1
@@ -192,7 +192,11 @@ class HealthMonitor:
|
||||
log.debugf("No pod found for instance %s, skipping deletion", instanceId)
|
||||
catch
|
||||
case ex: Exception =>
|
||||
log.warnf(ex, "Failed to delete pod for instance %s — removing from registry to prevent blocking scale-down", instanceId)
|
||||
log.warnf(
|
||||
ex,
|
||||
"Failed to delete pod for instance %s — removing from registry to prevent blocking scale-down",
|
||||
instanceId,
|
||||
)
|
||||
instanceRegistry.removeInstance(instanceId)
|
||||
|
||||
private def validateStartupInstances(timeoutMs: Long): Unit =
|
||||
|
||||
Reference in New Issue
Block a user