Skip to content
Snippets Groups Projects
Commit 2ce1a5b7 authored by Jonas's avatar Jonas
Browse files

More changes

parent ca0786e7
No related branches found
No related tags found
1 merge request!29Resolve "Initial Publish uptime of CS instance to IS"
Pipeline #817247 passed
......@@ -233,9 +233,8 @@ def main(conf):
##### Wait for the threads to finish and then stop #####
manager.join()
logger.info('Manager Thread joined the main thread')
copy.join()
logger.info('Copy Thread joined the main thread')
logger.info('Manager and Copy Threads joined the main thread')
if delete:
delete.join()
logger.info('Delete Thread joined the main thread')
......@@ -245,7 +244,6 @@ def main(conf):
if conf.IS_enabled:
info_service_thread.join()
logger.info('InfoService Thread joined the main thread')
if conf.DdmMonitoringEnabled:
ddm_publisher.join()
logger.info('DdmMonitoring Thread joined the main thread')
......
......@@ -90,7 +90,7 @@ class InfoServiceThread(threading.Thread):
is_data.checkin()
#self.logger.debug("Update sent: %s", str(is_data))
except Exception as ex:
self.logger.error("Error occured in send_update(). Error was: %s", str(ex))
self.logger.error("Error occured in send_update(): %s", str(ex))
# ##### TESTING FUNCTIONS #####
......@@ -98,7 +98,7 @@ class InfoServiceThread(threading.Thread):
# ## potentially their functionality can be used for migrations between "CastorScriptState" OKS schema definitions
# ## When we change it, we need to make sure that the old version is not on the server, before we can publish the new version
# ## otherwise an error occurs.
# def send_wrong_info_update(self, name_of_unwanted_IS_entry, type_of_unwanted_IS_entry):
# try:
# is_data_type = type_of_unwanted_IS_entry
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment