More sensible NET_OUTPUT_SIZE / NET_BUFFER defaults.

This commit is contained in:
Oliver Jowett 2014-12-06 22:54:40 +00:00
parent 129655625c
commit fcf31a164a
2 changed files with 4 additions and 4 deletions

View file

@ -85,13 +85,13 @@ DUMP1090_USER="dump1090"
#NET_HEARTBEAT=60 #NET_HEARTBEAT=60
# Minimum output buffer size per write, in bytes. # Minimum output buffer size per write, in bytes.
#NET_OUTPUT_SIZE=5 #NET_OUTPUT_SIZE=500
# Maximum buffering time before writing, in seconds. # Maximum buffering time before writing, in seconds.
#NET_OUTPUT_INTERVAL=1 #NET_OUTPUT_INTERVAL=1
# TCP buffer size order. Power-of-two based - buffer size is 2^(n+16). # TCP buffer size order. Power-of-two based - buffer size is 2^(n+16).
#NET_BUFFER=0 #NET_BUFFER=4
# Bind ports on a particular address. If unset, binds to all interfaces. # Bind ports on a particular address. If unset, binds to all interfaces.
# This defaults to binding to localhost. If you need to allow remote # This defaults to binding to localhost. If you need to allow remote

View file

@ -45,9 +45,9 @@ SBS_OUTPUT_PORT=30003
BEAST_INPUT_PORT=30004 BEAST_INPUT_PORT=30004
BEAST_OUTPUT_PORT=30005 BEAST_OUTPUT_PORT=30005
NET_HEARTBEAT=60 NET_HEARTBEAT=60
NET_OUTPUT_SIZE=5 NET_OUTPUT_SIZE=500
NET_OUTPUT_INTERVAL=1 NET_OUTPUT_INTERVAL=1
NET_BUFFER=0 NET_BUFFER=4
BIND_ADDRESS=127.0.0.1 BIND_ADDRESS=127.0.0.1
STATS_INTERVAL=3600 STATS_INTERVAL=3600
JSON_DIR=/run/$NAME JSON_DIR=/run/$NAME