revert [10848] That's not the way to solve the problem you're trying to fix: first keepalive packet is sent too early.

This commit is contained in:
Yann Leboulanger 2008-12-15 14:39:12 +00:00
parent 23c99ac920
commit 5c8cd8839a
1 changed files with 2 additions and 2 deletions

View File

@ -312,8 +312,8 @@ class Config:
'attached_gpg_keys': [ opt_str, '' ], 'attached_gpg_keys': [ opt_str, '' ],
'keep_alives_enabled': [ opt_bool, True], 'keep_alives_enabled': [ opt_bool, True],
# send keepalive every N seconds of inactivity # send keepalive every N seconds of inactivity
'keep_alive_every_foo_secs': [ opt_int, 120 ], 'keep_alive_every_foo_secs': [ opt_int, 55 ],
'time_for_keep_alive_answer': [ opt_int, 60, _('How many seconds to wait for the answer of keepalive packet before we try to reconnect.') ], 'time_for_keep_alive_answer': [ opt_int, 20, _('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 for 2 minutes before giving up (aka. timeout after those seconds)
'try_connecting_for_foo_secs': [ opt_int, 60 ], 'try_connecting_for_foo_secs': [ opt_int, 60 ],
'http_auth': [opt_str, 'ask'], # yes, no, ask 'http_auth': [opt_str, 'ask'], # yes, no, ask