Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Use fair unlocking when locking the guard tracking mutex guard #2066

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

maackle
Copy link
Member

@maackle maackle commented Jan 14, 2020

PR summary

This may help with a case @lucksus saw where an instance couldn't acquire a lock for 20 seconds. The hypothesis is that running 80 instances in a single conductor caused the locksmith guard-tracking mutex to thrash and starve out one of the instances. Hopefully this helps.

testing/benchmarking notes

( if any manual testing or benchmarking was/should be done, add notes and/or screenshots here )

followups

( any new tickets/concerns that were discovered or created during this work but aren't in scope for review here )

changelog

  • if this is a code change that effects some consumer (e.g. zome developers) of holochain core, then it has been added to our between-release changelog with the format
- summary of change [PR#1234](https://github.com/holochain/holochain-rust/pull/1234)

documentation

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants