Set machine status to "logged-in" by default
Updated the default machine status from "offline" to "logged-in" in the ArchiveSynchronizer class. This ensures the correct initial status is set when the object is instantiated.
This commit is contained in:
parent
82c09a8ced
commit
3f4f0aab82
@ -24,7 +24,7 @@ class ArchiveSynchronizer(Component):
|
|||||||
super().__init__(config=config, name=name, period=period, lazy=lazy, paused=paused, threaded=threaded)
|
super().__init__(config=config, name=name, period=period, lazy=lazy, paused=paused, threaded=threaded)
|
||||||
self.simulate = "--sim-archiver" in sys.argv
|
self.simulate = "--sim-archiver" in sys.argv
|
||||||
#self.machine_status = "offline"
|
#self.machine_status = "offline"
|
||||||
|
self.machine_status = "logged-in"
|
||||||
|
|
||||||
def config_changed(self):
|
def config_changed(self):
|
||||||
self.machine_id = self.config.machine_id
|
self.machine_id = self.config.machine_id
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user