MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / get_heartbeat

Function get_heartbeat

web/pgadmin/misc/__init__.py:297–300  ·  view source on GitHub ↗
(sid)

Source from the content-addressed store, hash-verified

295@blueprint.route("/get_heartbeat/<int:sid>", methods=['GET'])
296@pgCSRFProtect.exempt
297def get_heartbeat(sid):
298 heartbeat_data = get_server_heartbeat(sid)
299 return make_json_response(data=heartbeat_data,
300 status=200)
301
302
303##########################################################################

Callers

nothing calls this directly

Calls 2

get_server_heartbeatFunction · 0.90
make_json_responseFunction · 0.90

Tested by

no test coverage detected