Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't throw error on release expired lock #325

Merged
merged 3 commits into from
Aug 28, 2024
Merged

Don't throw error on release expired lock #325

merged 3 commits into from
Aug 28, 2024

Conversation

mdemare
Copy link
Collaborator

@mdemare mdemare commented Aug 21, 2024

No description provided.

@mdemare mdemare marked this pull request as ready for review August 23, 2024 11:26
@@ -236,6 +238,7 @@
(loop []
(let [result (async/alt!! c ([v] v)
(async/timeout timeout-ms) ::ping)]
;; this throws an exception if the lock has expired
Copy link
Contributor

Choose a reason for hiding this comment

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

This should probably not raise an exception but do "best effort" and continue if extending fails

@mdemare mdemare force-pushed the release-lock branch 2 times, most recently from f3afdd0 to 7b344b8 Compare August 26, 2024 12:10
@mdemare mdemare requested a review from joodie August 26, 2024 12:10
@mdemare mdemare merged commit 014765c into main Aug 28, 2024
6 checks passed
@mdemare mdemare deleted the release-lock branch August 28, 2024 07:43
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.

2 participants