summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-06-11 00:03:48 +0200
committermathieui <mathieui@mathieui.net>2013-06-11 00:03:48 +0200
commit2b4c06b6f81f46e9f712882877fdd261aae84065 (patch)
tree812f285b1b0fd638f19032a00040f60ce12a006c /data
parent97d3690aea8926f50eed2d5d0194114228c1e3ef (diff)
downloadpoezio-2b4c06b6f81f46e9f712882877fdd261aae84065.tar.gz
poezio-2b4c06b6f81f46e9f712882877fdd261aae84065.tar.bz2
poezio-2b4c06b6f81f46e9f712882877fdd261aae84065.tar.xz
poezio-2b4c06b6f81f46e9f712882877fdd261aae84065.zip
Fix #2315 (send pings to the server every minute to check the connection)
add two new options: connection_timeout_delay and connection_check_interval
Diffstat (limited to 'data')
-rw-r--r--data/default_config.cfg6
1 files changed, 6 insertions, 0 deletions
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