File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/xscontainer/docker_monitor Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2020
2121MONITORRETRYSLEEPINS = 20
2222MONITOR_EVENTS_POLL_INTERVAL = 1
23- MONITOR_TIMEOUT_WARNING_S = 75 .0
23+ MONITOR_TIMEOUT_WARNING_S = 120 .0
2424REGISTRATION_KEY = "xscontainer-monitor"
2525REGISTRATION_KEY_ON = 'True'
2626REGISTRATION_KEY_OFF = 'False'
@@ -114,6 +114,9 @@ def _monitoring_loop(self):
114114 log .info ("Could not connect to VM %s, will retry" % (vmuuid ))
115115 if not self ._stop_monitoring_request :
116116 time .sleep (MONITORRETRYSLEEPINS )
117+ # Make sure that we don't leave back error messsages for VMs that are
118+ # not monitored anymore
119+ self ._wipe_monitor_error_message_if_needed ()
117120 log .info ("monitor_loop returns from handling vm %s" % (vmuuid ))
118121
119122 def __monitor_vm_events (self ):
You can’t perform that action at this time.
0 commit comments