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

[Merged by Bors] - Improve validator key cache lock handling #1837

Conversation

blacktemplar
Copy link
Contributor

Issue Addressed

NA

Proposed Changes

Improves the deletion of the validator key cache lock file in case of program interrupts.

Additional Info

This should reduce cases where a lock file doesn't get removed on shutdown and reduce complaints on Discord. This will be superseded by issue #1823.

@blacktemplar blacktemplar added the ready-for-review The code is ready for review label Oct 28, 2020
@michaelsproul michaelsproul self-requested a review November 2, 2020 00:03
@paulhauner paulhauner added the A0 label Nov 9, 2020
Copy link
Member

@paulhauner paulhauner left a comment

Choose a reason for hiding this comment

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

Looks good to me. It should help until we can sort out #1823.

@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Nov 9, 2020
@michaelsproul
Copy link
Member

Looks good to me! I think the drop-based API will probably be similar to whichever locking library we end up using too

bors r+

bors bot pushed a commit that referenced this pull request Nov 9, 2020
## Issue Addressed

NA

## Proposed Changes

Improves the deletion of the validator key cache lock file in case of program interrupts.

## Additional Info

This should reduce cases where a lock file doesn't get removed on shutdown and reduce complaints on Discord. This will be superseded by issue #1823.
@bors bors bot changed the title Improve validator key cache lock handling [Merged by Bors] - Improve validator key cache lock handling Nov 9, 2020
@bors bors bot closed this Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0 ready-for-merge This PR is ready to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants