From 2b4c06b6f81f46e9f712882877fdd261aae84065 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 11 Jun 2013 00:03:48 +0200 Subject: Fix #2315 (send pings to the server every minute to check the connection) add two new options: connection_timeout_delay and connection_check_interval --- data/default_config.cfg | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'data') diff --git a/data/default_config.cfg b/data/default_config.cfg index f7879c8c..9e93900f 100644 --- a/data/default_config.cfg +++ b/data/default_config.cfg @@ -33,6 +33,12 @@ ca_cert_path = # defaults to false because it should not be necessary auto_reconnect = false +# The time between the ping sent to the server to check if the connection is alive +connection_check_interval = 60 + +# The timeout value of those pings +connection_timeout_delay = 10 + # the resource you will use # If it's empty, your resource will be chosen (most likely randomly) by the server # It is not recommended to use a resource that is easy to guess, because it can lead -- cgit v1.2.3