From fcf31a164a530ed67963aea1672d443c61882e7f Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Sat, 6 Dec 2014 22:54:40 +0000 Subject: [PATCH] More sensible NET_OUTPUT_SIZE / NET_BUFFER defaults. --- debian/dump1090-mutability.default | 4 ++-- debian/dump1090-mutability.init | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/dump1090-mutability.default b/debian/dump1090-mutability.default index 1172921..1017adb 100644 --- a/debian/dump1090-mutability.default +++ b/debian/dump1090-mutability.default @@ -85,13 +85,13 @@ DUMP1090_USER="dump1090" #NET_HEARTBEAT=60 # Minimum output buffer size per write, in bytes. -#NET_OUTPUT_SIZE=5 +#NET_OUTPUT_SIZE=500 # Maximum buffering time before writing, in seconds. #NET_OUTPUT_INTERVAL=1 # 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. # This defaults to binding to localhost. If you need to allow remote diff --git a/debian/dump1090-mutability.init b/debian/dump1090-mutability.init index 54eb3a1..e6e8e94 100644 --- a/debian/dump1090-mutability.init +++ b/debian/dump1090-mutability.init @@ -45,9 +45,9 @@ SBS_OUTPUT_PORT=30003 BEAST_INPUT_PORT=30004 BEAST_OUTPUT_PORT=30005 NET_HEARTBEAT=60 -NET_OUTPUT_SIZE=5 +NET_OUTPUT_SIZE=500 NET_OUTPUT_INTERVAL=1 -NET_BUFFER=0 +NET_BUFFER=4 BIND_ADDRESS=127.0.0.1 STATS_INTERVAL=3600 JSON_DIR=/run/$NAME