GarbageCollectorConfig

@Serializable
data class GarbageCollectorConfig(var enabled: Boolean = false, var blocksToKeep: Int = 10, var garbageLifetime: Duration = Duration.ofHours(24))

Constructors

Link copied to clipboard
constructor(enabled: Boolean = false, blocksToKeep: Int = 10, garbageLifetime: Duration = Duration.ofHours(24))

Properties

Link copied to clipboard
Link copied to clipboard

Gates the leader's auto-signal at block boundaries; explicit awaitNoGarbage() always runs. Defaults to false — opt-in for now while the leader-only flow gets some real-world miles.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard