Skip to content
Snippets Groups Projects

Resolve "Initial Publish uptime of CS instance to IS"

All threads resolved!
@@ -64,14 +64,14 @@ class InfoServiceThread(threading.Thread):
def send_update(self):
try:
self.logger.debug("Getting state from IS")
data_identifier = "{}.CastorScriptState".format(self.conf.partition)
data_identifier = "RunParams.{}.State".format(self.tdaq_app_name)
cs_state = ispy.ISInfoDynAny() #pylint: disable=no-member
self.is_info_dictionary.getValue(data_identifier, cs_state)
#self.is_info_dictionary.getValue(data_identifier, cs_state)
cs_state.tdaq_app_name = self.tdaq_app_name
#cs_state.tdaq_app_name = self.tdaq_app_name
cs_state.uptime_seconds = self.uptime_seconds
keep_history = True
keep_history = False
self.is_info_dictionary.checkin(data_identifier, self.cs_state, keep_history)
self.logger.debug("Update sent: %s", str(cs_state))
Loading