summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-12-20 23:38:23 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2019-12-23 23:18:44 -0800
commita85b9070cb37103c45e0e9b58732b4d92c09288b (patch)
tree2bd827618cec137f1f9ac535cbfa4f3d5567ad55 /.coveragerc
parent91ea90c25347a33ab4b7f7d7d390af048b4ab809 (diff)
downloadspack-a85b9070cb37103c45e0e9b58732b4d92c09288b.tar.gz
spack-a85b9070cb37103c45e0e9b58732b4d92c09288b.tar.bz2
spack-a85b9070cb37103c45e0e9b58732b4d92c09288b.tar.xz
spack-a85b9070cb37103c45e0e9b58732b4d92c09288b.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 '.coveragerc')
0 files changed, 0 insertions, 0 deletions