mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-22 05:40:10 +00:00
Increased heartbeat to 35s default
readsb expects to receive a heartbeat at 2x the —net-heartbeat interval otherwise it will disconnect the connection. By increasing the default to 2x35=70s it will gracefully handle heartbeats of 60s provided by external mlat-clients (FA, RB, etc)
This commit is contained in:
parent
a6f077fae2
commit
aff75cfcca
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ if [[ -n "$READSB_NET_CONNECTOR_DELAY" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Handle "--net-heartbeat=<rate>"
|
# Handle "--net-heartbeat=<rate>"
|
||||||
MLATHUB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-30}")
|
MLATHUB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-35}")
|
||||||
|
|
||||||
if [[ ! -f /run/mlathub_up ]]
|
if [[ ! -f /run/mlathub_up ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue