1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-11-22 05:40:10 +00:00

fix net_heartbeat

This commit is contained in:
kx1t 2023-03-25 15:37:30 -04:00
parent d70e415d11
commit 9fdd553ec4
2 changed files with 3 additions and 6 deletions

View file

@ -96,9 +96,8 @@ if [[ -n "$READSB_NET_CONNECTOR_DELAY" ]]; then
fi
# Handle "--net-heartbeat=<rate>"
if [[ -n "${READSB_NET_HEARTBEAT:-30}" ]]; then
MLATHUB_CMD+=("--net-heartbeat=$READSB_NET_HEARTBEAT")
fi
MLATHUB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-30}")
if (( $(ps -o etimes= -p 1) < 30 ))
then

View file

@ -173,9 +173,7 @@ if [[ -n "$READSB_NET_CONNECTOR_DELAY" ]]; then
fi
# Handle "--net-heartbeat=<rate>"
if [[ -n "$READSB_NET_HEARTBEAT" ]]; then
READSB_CMD+=("--net-heartbeat=$READSB_NET_HEARTBEAT")
fi
READSB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-30}")
# Handle "--net-ri-port=<ports>"
if [[ -n "$READSB_NET_RAW_INPUT_PORT" ]]; then