Reset the keepalive timeout to 10 minutes rather than the 30 seconds I was

2002-04-04  Not Zed  <NotZed@Ximian.com>

        * camel-remote-store.c (remote_connect): Reset the keepalive
        timeout to 10 minutes rather than the 30 seconds I was using for
        testing.

svn path=/trunk/; revision=16336
This commit is contained in:
Not Zed
2002-04-04 02:43:47 +00:00
committed by Michael Zucci
parent b599862306
commit 91139a7bb2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-04-04 Not Zed <NotZed@Ximian.com>
* camel-remote-store.c (remote_connect): Reset the keepalive
timeout to 10 minutes rather than the 30 seconds I was using for
testing.
2002-04-03 Dan Winship <danw@ximian.com>
* camel-provider.h (CamelProvider): make service_cache be an array

View File

@ -272,7 +272,7 @@ remote_connect (CamelService *service, CamelException *ex)
if (CRSC (store)->keepalive) {
CamelSession *session = camel_service_get_session (CAMEL_SERVICE (store));
store->timeout_id = camel_session_register_timeout (session, 30 * 1000 /* FIXME: 10 * 60 * 1000 */,
store->timeout_id = camel_session_register_timeout (session, 10 * 60 * 1000,
timeout_cb,
store);
}