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

fixes #68 & #69 Refactor DistributedLock #70

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

kirides
Copy link
Contributor

@kirides kirides commented Apr 4, 2024

- remove re-entrancy
- pause heartbeat timer while processing
- update expiration using SQL Update statement in a single step
- if we no longer own the lock, we immediately dispose the heartbeat timer
- Added Heartbeat event (for testing)

Signed-off-by: kirides <[email protected]>
@kirides kirides force-pushed the issues/68/distributed_lock branch from 8138f1c to 7c3c90c Compare April 4, 2024 09:51
@felixclase felixclase merged commit a53dac2 into raisedapp:develop Apr 4, 2024
3 checks passed
@kirides kirides changed the title fixes #68 & 69 Refactor DistributedLock fixes #68 & #69 Refactor DistributedLock Jan 3, 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.

2 participants