Do not acquire a write lock on the env post install if no views (#43505)
This commit is contained in:
parent
cab4f92960
commit
411576e1fa
@ -420,8 +420,7 @@ def install_with_active_env(env: ev.Environment, args, install_kwargs, reporter_
|
||||
with reporter_factory(specs_to_install):
|
||||
env.install_specs(specs_to_install, **install_kwargs)
|
||||
finally:
|
||||
# TODO: this is doing way too much to trigger
|
||||
# views and modules to be generated.
|
||||
if env.views:
|
||||
with env.write_transaction():
|
||||
env.write(regenerate=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user