Mercurial > pidgin.yaz
changeset 17933:44de942bd762
Lower timeout to 2 minutes (to be closer to keepalive of 124 s).
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Wed, 04 Jul 2007 21:47:53 +0000 |
parents | 76b68a9f9036 |
children | b9fd55903979 |
files | libpurple/protocols/myspace/myspace.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Wed Jul 04 21:36:19 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Wed Jul 04 21:47:53 2007 +0000 @@ -88,10 +88,10 @@ #define MSIM_PORT 1863 /* TODO: alternate ports and automatic */ /* Time between keepalives (seconds) - if no data within this time, is dead. */ -#define MSIM_KEEPALIVE_INTERVAL (3 * 60) +#define MSIM_KEEPALIVE_INTERVAL (2 * 60) /* Time to check if alive (milliseconds) */ -#define MSIM_KEEPALIVE_INTERVAL_CHECK (MSIM_KEEPALIVE_INTERVAL * 1000 / 5) +#define MSIM_KEEPALIVE_INTERVAL_CHECK (30 * 1000) /* Constants */ #define HASH_SIZE 0x14 /**< Size of SHA-1 hash for login */