1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-11-29 01:00:13 +00:00

default SBS-REDUCE-INTERVAL to 1.0 sec

This commit is contained in:
kx1t 2023-04-08 18:24:39 -04:00
parent 6ca51216c8
commit 062a32be89

View file

@ -123,9 +123,8 @@ fi
READSB_CMD+=("--net-api-port=${READSB_NET_API_PORT:-30152}") READSB_CMD+=("--net-api-port=${READSB_NET_API_PORT:-30152}")
# Handle "--net-beast-reduce-interval=<seconds>" # Handle "--net-beast-reduce-interval=<seconds>"
if [[ -n "$READSB_NET_BEAST_REDUCE_INTERVAL" ]]; then # Default it to 1.0 second if no value is provided
READSB_CMD+=("--net-beast-reduce-interval=$READSB_NET_BEAST_REDUCE_INTERVAL") READSB_CMD+=("--net-beast-reduce-interval=${READSB_NET_BEAST_REDUCE_INTERVAL:-1.0}")
fi
# Handle "--net-beast-reduce-out-port=<ports>" # Handle "--net-beast-reduce-out-port=<ports>"
if [[ -n "$READSB_NET_BEAST_REDUCE_OUT_PORT" ]]; then if [[ -n "$READSB_NET_BEAST_REDUCE_OUT_PORT" ]]; then