-
- Downloads
fix(heartbeat-monitor): port the "PyHeartBeat" script to Python3
In addition to porting it to python3, a number of documentation and code issues were solved: * doc: proper order of arguments * doc: mention debug mode (previously via "__debug__", now "DEBUG=1") * doc: provide example for manual heartbeat packets * code: specify timeout for "socket.recvfrom" (avoid hanging) * code: handle parameters properly (cast to int/float) * style: format with "black"
parent
d041f86c
No related branches found
No related tags found
contrib/heartbeat-monitor/PyHeartBeat.py
100644 → 100755
Please register or sign in to comment