From 736b4a4f4cac8824bc0ee5396ed8abb50233725d Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 15 Jul 2011 20:32:59 +0000 Subject: [PATCH] Monotone-Parent: 509161891d714328d4a536f4225b69b69c8bf263 Monotone-Revision: 9c2ce4a1d58e648ee8b0bab68a7284e4b583962d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-15T20:32:59 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ OpenChange/MAPIStoreSOGo.m | 3 +++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 456aa897b..d6c195f22 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,10 @@ 2011-07-15 Wolfgang Sourdeau + * OpenChange/MAPIStoreSOGo.m (sogo_backend_init): disable the use + of the requests cache as objects are retained by the mapistore as + needed. + * SoObjects/SOGo/SOGoCache.m (-disableRequestsCache): new method that adds the ability to not put requests object in the cache. diff --git a/OpenChange/MAPIStoreSOGo.m b/OpenChange/MAPIStoreSOGo.m index 67e03daf9..72875d185 100644 --- a/OpenChange/MAPIStoreSOGo.m +++ b/OpenChange/MAPIStoreSOGo.m @@ -27,6 +27,7 @@ #import #import #import +#import #import #import @@ -84,6 +85,8 @@ sogo_backend_init (void) if (MAPIApplicationK) [MAPIApplicationK new]; + [[SOGoCache sharedCache] disableRequestsCache]; + [pool release]; return MAPISTORE_SUCCESS;