SerenaDashboardTrayManager: Add initial delay to monitoring thread

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-04-23 02:20:58 +02:00
1 parent 81349514ab
commit 3e24972c61
1 file changed
+2
+2
View File
@@ -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)