From 78fc4a2dddce9517a251eac0a1c438ec6eb558e2 Mon Sep 17 00:00:00 2001 From: Heikki Hannikainen Date: Sat, 6 Aug 2016 00:11:44 +0300 Subject: [PATCH] Keep packet buffers (pbufs) allocated for 4 minutes instead of 10 minutes. Deal with higher packet rates. --- src/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.c b/src/config.c index ab79307..2218291 100644 --- a/src/config.c +++ b/src/config.c @@ -114,8 +114,8 @@ int heard_list_storetime = 3*60*60; /* how long to store "client X has hea int courtesy_list_storetime = 30*60; /* how long to store "client X has been given MSG from station Y" information, * to support courtesy position transmission after text message routing */ -int pbuf_global_expiration = 10*60; /* 10 minutes */ /* 10 sec for load testing */ -int pbuf_global_dupe_expiration = 10*60; /* 10 minutes */ /* 10 sec for load testing */ +int pbuf_global_expiration = 4*60; /* 4 minutes */ /* 10 sec for load testing */ +int pbuf_global_dupe_expiration = 4*60; /* 4 minutes */ /* 10 sec for load testing */ int upstream_timeout = 30; /* after N seconds of no input from an upstream, disconnect */ int client_timeout = 48*60*60; /* after N seconds of no input from a client, disconnect */