# HG changeset patch # User Jeffrey Connelly # Date 1183585673 0 # Node ID 44de942bd7625c17bb715972af5ffa40ed059285 # Parent 76b68a9f90361b2490560409391e2beda6ca7507 Lower timeout to 2 minutes (to be closer to keepalive of 124 s). diff -r 76b68a9f9036 -r 44de942bd762 libpurple/protocols/myspace/myspace.h --- 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 */