mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-02-14 20:22:13 +00:00
Clusters functions
This commit is contained in:
parent
8c8eb1fd5d
commit
d3e5b52e17
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ class Analyse:
|
|||
|
||||
""" Create lock file """
|
||||
locker = Locker()
|
||||
locker.createlock(self.generalconf["hyperproxmox"]["walker_lock"], insert_time)
|
||||
locker.createlock(self.generalconf["analyst"]["walker_lock"], insert_time)
|
||||
|
||||
self.mongo.insert_datekey(insert_time, 'running')
|
||||
|
||||
|
@ -184,7 +184,7 @@ class Analyse:
|
|||
self.mongo.update_datekey(int(insert_time), "OK")
|
||||
|
||||
""" Unlock file """
|
||||
locker.unlock(self.generalconf["hyperproxmox"]["walker_lock"])
|
||||
locker.unlock(self.generalconf["analyst"]["walker_lock"])
|
||||
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue