Skip to content
Snippets Groups Projects
Unverified Commit a85b9070 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

performance: avoid repeated DB locking on view generation

`ViewDescriptor.regenerate()` checks repeatedly whether packages are
installed and also does a lot of DB queries.  Put a read transaction
around the whole thing to avoid repeatedly locking and unlocking the DB.
parent 91ea90c2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment