Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Personal-backend: Workaround deadlock #37

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

forslund
Copy link
Contributor

Using the identity property when fetching headers (headers -> uuid -> identity) caused a deadlock since a load occured.

This ensures that the load is performed before the lock is taken to ensure the deadlock does not occur.

This is a quick-fix and someone with more insight in the architecture (or me if I get a weekend to think it through) may want to make a proper fix.

Resolves #36

Using the identity property when fetching headers (headers -> uuid ->
identity) caused a deadlock since a load occured.

This ensures that the load is performed before the lock is taken to
ensure the deadlock does not occur.
@JarbasAl JarbasAl added the bug Something isn't working label Apr 25, 2023
@JarbasAl JarbasAl merged commit 04ff9b0 into OpenVoiceOS:dev Apr 25, 2023
@github-actions github-actions bot mentioned this pull request Dec 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Double acquire of combo-lock
2 participants