summaryrefslogtreecommitdiff
path: root/src/read_config_yy.y
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-01-25 17:53:14 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-01-25 17:53:14 +0100
commitcced587d766b9194b698a156d241766d5bad8a9d (patch)
treec9084ff763d29dd238a45e10db886f966ec5d7e4 /src/read_config_yy.y
parent50c09dec9ad0261d8fcc18d69b2c9ec74052955c (diff)
downloadconntrack-tools-cced587d766b9194b698a156d241766d5bad8a9d.tar.gz
conntrack-tools-cced587d766b9194b698a156d241766d5bad8a9d.zip
src: increase default PurgeTimeout value
This patch increases the default PurgeTimeout value to 60 seconds. The former 15 seconds provides good real-time reaction in terms of user-side expected behaviour, but it is too small if you trigger random failure in a firewall cluster. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/read_config_yy.y')
-rw-r--r--src/read_config_yy.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/read_config_yy.y b/src/read_config_yy.y
index 766d543..049896e 100644
--- a/src/read_config_yy.y
+++ b/src/read_config_yy.y
@@ -1141,9 +1141,9 @@ init_config(char *filename)
if (CONFIG(cache_timeout) == 0)
CONFIG(cache_timeout) = 180;
- /* default to 15 seconds: purge kernel entries */
+ /* default to 60 seconds: purge kernel entries */
if (CONFIG(purge_timeout) == 0)
- CONFIG(purge_timeout) = 15;
+ CONFIG(purge_timeout) = 60;
/* default to 60 seconds of refresh time */
if (CONFIG(refresh) == 0)