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
|
- class CacheEvictionManager
|
||||||
- function setRedisPrefix
|
- function setRedisPrefix
|
||||||
- function initializeMetrics
|
- function initializeMetrics
|
||||||
|
- function periodicCacheEviction
|
||||||
- function evictStaleGames
|
- function evictStaleGames
|
||||||
- `modules/coordinator/src/main/scala/de/nowchess/coordinator/service/FailoverService.scala`
|
- `modules/coordinator/src/main/scala/de/nowchess/coordinator/service/FailoverService.scala`
|
||||||
- class FailoverService
|
- class FailoverService
|
||||||
@@ -289,6 +290,7 @@
|
|||||||
- function setRedisPrefix
|
- function setRedisPrefix
|
||||||
- function shouldRebalance
|
- function shouldRebalance
|
||||||
- function rebalance
|
- function rebalance
|
||||||
|
- function periodicRebalanceCheck
|
||||||
- `modules/core/src/main/scala/de/nowchess/chess/adapter/RuleSetRestAdapter.scala`
|
- `modules/core/src/main/scala/de/nowchess/chess/adapter/RuleSetRestAdapter.scala`
|
||||||
- class RuleSetRestAdapter
|
- class RuleSetRestAdapter
|
||||||
- function candidateMoves
|
- function candidateMoves
|
||||||
|
|||||||
@@ -208,6 +208,7 @@
|
|||||||
- class CacheEvictionManager
|
- class CacheEvictionManager
|
||||||
- function setRedisPrefix
|
- function setRedisPrefix
|
||||||
- function initializeMetrics
|
- function initializeMetrics
|
||||||
|
- function periodicCacheEviction
|
||||||
- function evictStaleGames
|
- function evictStaleGames
|
||||||
- `modules/coordinator/src/main/scala/de/nowchess/coordinator/service/FailoverService.scala`
|
- `modules/coordinator/src/main/scala/de/nowchess/coordinator/service/FailoverService.scala`
|
||||||
- class FailoverService
|
- class FailoverService
|
||||||
@@ -233,6 +234,7 @@
|
|||||||
- function setRedisPrefix
|
- function setRedisPrefix
|
||||||
- function shouldRebalance
|
- function shouldRebalance
|
||||||
- function rebalance
|
- function rebalance
|
||||||
|
- function periodicRebalanceCheck
|
||||||
- `modules/core/src/main/scala/de/nowchess/chess/adapter/RuleSetRestAdapter.scala`
|
- `modules/core/src/main/scala/de/nowchess/chess/adapter/RuleSetRestAdapter.scala`
|
||||||
- class RuleSetRestAdapter
|
- class RuleSetRestAdapter
|
||||||
- function candidateMoves
|
- function candidateMoves
|
||||||
|
|||||||
+5
-1
@@ -192,7 +192,11 @@ class HealthMonitor:
|
|||||||
log.debugf("No pod found for instance %s, skipping deletion", instanceId)
|
log.debugf("No pod found for instance %s, skipping deletion", instanceId)
|
||||||
catch
|
catch
|
||||||
case ex: Exception =>
|
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)
|
instanceRegistry.removeInstance(instanceId)
|
||||||
|
|
||||||
private def validateStartupInstances(timeoutMs: Long): Unit =
|
private def validateStartupInstances(timeoutMs: Long): Unit =
|
||||||
|
|||||||
Reference in New Issue
Block a user