Skip to content

Conversation

@drexin
Copy link
Member

@drexin drexin commented May 29, 2022

Resolves #356

@drexin
Copy link
Member Author

drexin commented May 29, 2022

TODO: Add tests

@drexin drexin changed the title [WIP] Periodically prune association tombstones Periodically prune association tombstones May 29, 2022
@drexin drexin requested a review from ktoso May 29, 2022 07:27
public var associationTombstoneTTL: TimeAmount = .hours(24) * 1

/// Defines the interval with which the list of associated tombstones is freed from expired tombstones.
public var associationTombstoneCleanupInterval: TimeAmount = .minutes(10)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10 minutes sounds good 👍

@ktoso ktoso merged commit 3333985 into apple:main May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cluster: Prune association tombstones

2 participants