From 8eb96adc74188a7e4a38d870af5292450e88d37f Mon Sep 17 00:00:00 2001 From: kx1t Date: Tue, 18 Apr 2023 21:29:12 -0400 Subject: [PATCH] defaulted `--net-heartbeat=35` --- README.md | 2 +- rootfs/etc/services.d/mlathub/run | 2 +- rootfs/etc/services.d/readsb/run | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 623d19e..f523404 100644 --- a/README.md +++ b/README.md @@ -304,7 +304,7 @@ There are many optional parameters relating to the ingestion of data and the gen | `READSB_NET_RAW_OUTPUT_INTERVAL` | TCP output flush interval in seconds (maximum interval between two network writes of accumulated data). | `--net-ro-interval=` | `0.05` | | `READSB_NET_RAW_OUTPUT_SIZE` | TCP output flush size (maximum amount of internally buffered data before writing to network). | `--net-ro-size=` | `1200` | | `READSB_NET_CONNECTOR_DELAY` | Outbound re-connection delay. | `--net-connector-delay=` | `30` | -| `READSB_NET_HEARTBEAT` | TCP heartbeat rate in seconds (0 to disable). | `--net-heartbeat=` | `60` | +| `READSB_NET_HEARTBEAT` | TCP heartbeat rate in seconds (0 to disable). | `--net-heartbeat=` | `35` | | `READSB_NET_RAW_INPUT_PORT` | TCP raw input listen ports. | `--net-ri-port=` | `30001` | | `READSB_NET_RAW_OUTPUT_PORT` | TCP raw output listen ports. | `--net-ro-port=` | `30002` | | `READSB_NET_SBS_INPUT_PORT` | TCP BaseStation input listen ports. | `--net-sbs-in-port=` | Unset | diff --git a/rootfs/etc/services.d/mlathub/run b/rootfs/etc/services.d/mlathub/run index 63a66c7..9696888 100644 --- a/rootfs/etc/services.d/mlathub/run +++ b/rootfs/etc/services.d/mlathub/run @@ -104,7 +104,7 @@ if [[ -n "$READSB_NET_CONNECTOR_DELAY" ]]; then fi # Handle "--net-heartbeat=" -MLATHUB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-30}") +MLATHUB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-35}") if [[ ! -f /run/mlathub_up ]] then diff --git a/rootfs/etc/services.d/readsb/run b/rootfs/etc/services.d/readsb/run index 7e78b40..e766531 100644 --- a/rootfs/etc/services.d/readsb/run +++ b/rootfs/etc/services.d/readsb/run @@ -191,7 +191,7 @@ if [[ -n "$READSB_NET_CONNECTOR_DELAY" ]]; then fi # Handle "--net-heartbeat=" -READSB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-30}") +READSB_CMD+=("--net-heartbeat=${READSB_NET_HEARTBEAT:-35}") # Handle "--net-ri-port=" if [[ -n "$READSB_NET_RAW_INPUT_PORT" ]]; then