Skip to content

Conversation

@flovouin
Copy link
Contributor

@flovouin flovouin commented Jan 12, 2026

📝 Description of the PR

This PR adds the useExisting option to LockManager.acquire to reuse an existing released lock entity. When true and a released (or expired) lock exists, only lock and expiresAt are updated, preserving other fields. When false (default) or no lock exists, it creates a new lock as before.

📋 Check list

  • 🧪 Unit tests have been written.
  • 📝 Documentation has been updated.

@flovouin flovouin added the enhancement New feature or request label Jan 12, 2026
@flovouin flovouin merged commit c1bbb58 into main Jan 12, 2026
2 checks passed
@flovouin flovouin deleted the feat/lock-manager-acquire-existing branch January 12, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants