Skip to content
Snippets Groups Projects
Commit 7acf1828 authored by Cyril Danilevski's avatar Cyril Danilevski :scooter:
Browse files

Add MyMDC check_connection action

See merge request detectors/pycalibration!520
parents e8e65511 ee1dfc6c
No related branches found
No related tags found
1 merge request!520Add MyMDC check_connection action
......@@ -752,10 +752,19 @@ class ActionsServer:
'query-rid',
'upload-yaml',
'update_conf',
'check_connection',
}
# Handler methods for each available action ------------------------------
async def handle_check_connection(self, *args):
"""Inform the caller that the service is up and running.
MyMDC will send the same information as provided to dark or correct
requests, but nothing is done with this information.
"""
return b'success'
async def handle_correct(
self, rid, _sase, instrument, cycle, proposal, runnr, priority
):
......
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