Skip to content

feat: force-acquire after TTL when ExpireGracePeriod is set#183

Merged
mashiike merged 3 commits intomainfrom
feature/expire-grace-period
Oct 17, 2025
Merged

feat: force-acquire after TTL when ExpireGracePeriod is set#183
mashiike merged 3 commits intomainfrom
feature/expire-grace-period

Conversation

@mashiike
Copy link
Copy Markdown
Owner

@mashiike mashiike commented Oct 17, 2025

This PR introduces an optional ExpireGracePeriod setting for setddblock that allows a lock to be forcibly reacquired after its TTL has expired plus a configurable grace period.

Key changes

If ExpireGracePeriod <= 0, automatic reclaim is disabled and the system continues to depend on DynamoDB TTL cleanup oai_citation:6‡patch-diff.githubusercontent.com.

@mashiike mashiike merged commit 53c33e9 into main Oct 17, 2025
6 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 17, 2025
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.

1 participant