55 seconds for keepalive [some web proxies disconnect at 60] and try to connect for 1 minute and not 2

This commit is contained in:
Nikos Kouremenos 2005-07-25 00:32:02 +00:00
parent 13d6c491c1
commit e7952867d2
1 changed files with 2 additions and 2 deletions

View File

@ -144,11 +144,11 @@ 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 60 seconds of inactivity # send keepalive every 60 seconds of inactivity
'keep_alive_every_foo_secs': [ opt_int, 60 ], 'keep_alive_every_foo_secs': [ opt_int, 55 ],
# disconnect if 2 minutes have passed and server didn't reply # disconnect if 2 minutes have passed and server didn't reply
'keep_alive_disconnect_after_foo_secs': [ opt_int, 120 ], 'keep_alive_disconnect_after_foo_secs': [ opt_int, 120 ],
# 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, 120 ], 'try_connecting_for_foo_secs': [ opt_int, 60 ],
'max_stanza_per_sec': [ opt_int, 5], 'max_stanza_per_sec': [ opt_int, 5],
}, {}), }, {}),
'statusmsg': ({ 'statusmsg': ({