Skip to content

Remove unwrap calls when accessing project cache#202

Draft
brollb wants to merge 1 commit intomainfrom
project-cache-unwraps
Draft

Remove unwrap calls when accessing project cache#202
brollb wants to merge 1 commit intomainfrom
project-cache-unwraps

Conversation

@brollb
Copy link
Copy Markdown
Collaborator

@brollb brollb commented Nov 9, 2023

This PR currently just logs failures. However, this is probably not really ideal
since this effectively means that if the write() call fails (due to a panic
occurring while the lock was previously held), the server essentially continues
operation without any project cache.

This isn't great since that would hinder performance until the server is
restarted. It would be better if the cache was reset if the lock has been
poisoned.

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