From 23c99ac920be8e4ee9ec7a60f54c328ca9e6e6ed Mon Sep 17 00:00:00 2001 From: js <js-gajim@webkeks.org> Date: Mon, 15 Dec 2008 13:41:08 +0000 Subject: [PATCH] Use more sane timeout values. 2 min should be ok. --- src/common/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/config.py b/src/common/config.py index 33447822ab..0efbe47724 100644 --- a/src/common/config.py +++ b/src/common/config.py @@ -312,8 +312,8 @@ class Config: 'attached_gpg_keys': [ opt_str, '' ], 'keep_alives_enabled': [ opt_bool, True], # send keepalive every N seconds of inactivity - 'keep_alive_every_foo_secs': [ opt_int, 55 ], - 'time_for_keep_alive_answer': [ opt_int, 20, _('How many seconds to wait for the answer of keepalive packet before we try to reconnect.') ], + 'keep_alive_every_foo_secs': [ opt_int, 120 ], + 'time_for_keep_alive_answer': [ opt_int, 60, _('How many seconds to wait for the answer of keepalive packet before we try to reconnect.') ], # try for 2 minutes before giving up (aka. timeout after those seconds) 'try_connecting_for_foo_secs': [ opt_int, 60 ], 'http_auth': [opt_str, 'ask'], # yes, no, ask -- GitLab