diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-20 23:38:23 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-23 18:36:56 -0800 |
commit | 779ac9fe3e1968bbc8b267712c8827aba5dd985e (patch) | |
tree | 7debba9fd1ad221ba862f7fcebfbff717c867bbe /.mailmap | |
parent | 99dee9037204d6bbf6d45f6e06a65fb21cfe50eb (diff) | |
download | spack-779ac9fe3e1968bbc8b267712c8827aba5dd985e.tar.gz spack-779ac9fe3e1968bbc8b267712c8827aba5dd985e.tar.bz2 spack-779ac9fe3e1968bbc8b267712c8827aba5dd985e.tar.xz spack-779ac9fe3e1968bbc8b267712c8827aba5dd985e.zip |
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.
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions