MCPcopy Create free account
hub / github.com/Tong89/smartNode / liveness_probe

Function liveness_probe

backend/api.py:1585–1587  ·  view source on GitHub ↗

存活探针:进程可响应即存活。

()

Source from the content-addressed store, hash-verified

1583
1584@app.route('/api/livez')
1585def liveness_probe():
1586 """存活探针:进程可响应即存活。"""
1587 return jsonify({'status': 'alive'})
1588
1589
1590@app.route('/api/readyz')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected