Bugfix: put environment lock in the right place (#14692)
Locate the environment lock in the hidden environment directory rather than the root of the environment.
This commit is contained in:
parent
1e0408d05a
commit
b2adcdb389
@ -724,7 +724,7 @@ def _transaction_lock_path(self):
|
|||||||
"""The location of the lock file used to synchronize multiple
|
"""The location of the lock file used to synchronize multiple
|
||||||
processes updating the same environment.
|
processes updating the same environment.
|
||||||
"""
|
"""
|
||||||
return os.path.join(self.path, 'transaction_lock')
|
return os.path.join(self.env_subdir_path, 'transaction_lock')
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def lock_path(self):
|
def lock_path(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user