summaryrefslogtreecommitdiff
path: root/doc
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 /doc
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 'doc')
-rw-r--r--doc/source/configuration.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/source/configuration.rst b/doc/source/configuration.rst
index 4fa92900..5bdec95e 100644
--- a/doc/source/configuration.rst
+++ b/doc/source/configuration.rst
@@ -111,6 +111,23 @@ section of this documentation.
The fingerprint of the SSL certificate as a hexadecimal string, you should
not touch it, except if know what you are doing.
+ connection_check_interval
+
+ **Default value:** ``60``
+
+ A ping is sent to the server every N seconds, N being the value of that option.
+ Change this to a low value if you want to know quickly when you are disconnected,
+ and to a very high value if bandwidth matters so much that you can’t afford
+ 100 bytes/minute (seriously?).
+
+ connection_timeout_delay
+
+ **Default value:** ``10``
+
+ The timeout delay of the ping referenced above, 10 should really be fine, but
+ if your network is really unstable, it can be set higher or lower, depending
+ of your preference.
+
custom_host
**Default value:** ``[empty]``