LockFile doesn't need to hold on to _database_location
This commit is contained in:
parent
175f90f6a2
commit
daeb37226a
1 changed files with 0 additions and 1 deletions
|
@ -5,7 +5,6 @@ EXPIRATION = 60 # 1 minute
|
|||
|
||||
class LockFile(PollHook.PollHook):
|
||||
def __init__(self, database_location: str):
|
||||
self._database_location = database_location
|
||||
self._lock_location = "%s.lock" % database_location
|
||||
self._next_lock = None
|
||||
|
||||
|
|
Loading…
Reference in a new issue