Increase ping timeout delays (now that the ping actually works)

This commit is contained in:
mathieui 2016-06-12 21:46:46 +02:00
parent aa79acb7d9
commit ce915a86c1
3 changed files with 7 additions and 7 deletions

View file

@ -93,10 +93,10 @@ ca_cert_path =
#auto_reconnect = true #auto_reconnect = true
# The time between the ping sent to the server to check if the connection is alive # The time between the ping sent to the server to check if the connection is alive
#connection_check_interval = 60 #connection_check_interval = 300
# The timeout value of those pings # The timeout value of those pings
#connection_timeout_delay = 10 #connection_timeout_delay = 30
# Send the initial presence # Send the initial presence
# true, unless you want to be invisible from your roster # true, unless you want to be invisible from your roster

View file

@ -242,7 +242,7 @@ well, but you will at least want to know when you get disconnected.
connection_check_interval connection_check_interval
**Default value:** ``60`` **Default value:** ``300``
A ping is sent to the server every N seconds, N being the value of 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 that option. Change this to a low value if you want to know quickly
@ -253,9 +253,9 @@ well, but you will at least want to know when you get disconnected.
connection_timeout_delay connection_timeout_delay
**Default value:** ``10`` **Default value:** ``30``
The timeout delay of the ping referenced above, 10 should really be fine, but The timeout delay of the ping referenced above, 30 should really be fine, but
if your network is really unstable, it can be set higher or lower, depending if your network is really unstable, it can be set higher or lower, depending
of your preference. of your preference.

View file

@ -37,8 +37,8 @@ DEFAULT_CONFIG = {
'certificate': '', 'certificate': '',
'certfile': '', 'certfile': '',
'ciphers': 'HIGH+kEDH:HIGH+kEECDH:HIGH:!PSK:!SRP:!3DES:!aNULL', 'ciphers': 'HIGH+kEDH:HIGH+kEECDH:HIGH:!PSK:!SRP:!3DES:!aNULL',
'connection_check_interval': 60, 'connection_check_interval': 300,
'connection_timeout_delay': 10, 'connection_timeout_delay': 30,
'create_gaps': False, 'create_gaps': False,
'custom_host': '', 'custom_host': '',
'custom_port': '', 'custom_port': '',