mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +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 """
|
""" Create lock file """
|
||||||
locker = Locker()
|
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')
|
self.mongo.insert_datekey(insert_time, 'running')
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@ class Analyse:
|
||||||
self.mongo.update_datekey(int(insert_time), "OK")
|
self.mongo.update_datekey(int(insert_time), "OK")
|
||||||
|
|
||||||
""" Unlock file """
|
""" Unlock file """
|
||||||
locker.unlock(self.generalconf["hyperproxmox"]["walker_lock"])
|
locker.unlock(self.generalconf["analyst"]["walker_lock"])
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue