mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 04:15:11 +00:00
SerenaDashboardTrayManager: Add initial delay to monitoring thread
This commit is contained in:
1 parent
81349514ab
commit
3e24972c61
1 file changed
+2
@@ -1064,6 +1064,8 @@ class SerenaDashboardTrayManager:
|
||||
|
||||
Removes unreachable instances and terminates the manager when none remain.
|
||||
"""
|
||||
time.sleep(max(1, 5 - self.ALIVE_CHECK_INTERVAL_SECONDS)) # initial delay to allow instances to start and register
|
||||
|
||||
while True:
|
||||
time.sleep(self.ALIVE_CHECK_INTERVAL_SECONDS)
|
||||
|
||||
|
||||
Reference in new issue
Block a user