mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-29 18:12:44 +00:00
Monotone-Parent: 367e72af9d08f48f2e598a1e344c784b6bc4ffac
Monotone-Revision: f617866a91a29b390f0a2207ceb975bf2b2eeaa3 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-11-26T19:32:24 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2009-11-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoCache.m (_cacheValues:ofType:forLogin:): we
|
||||
also fill the local cache with the new value to avoid ignoring it
|
||||
next time the cache is invoked.
|
||||
|
||||
* SoObjects/SOGo/NSDictionary+BSJSONAdditions.m
|
||||
(+dictionaryWithJSONString:): method moved from NSDictionary into
|
||||
NSMutableDictionary for consistency.
|
||||
|
||||
@@ -270,6 +270,7 @@ static NSLock *lock;
|
||||
[key bytes], [key length],
|
||||
[value bytes], [value length],
|
||||
cleanupInterval, 0);
|
||||
[localCache setObject: theAttributes forKey: keyName];
|
||||
|
||||
if (error != MEMCACHED_SUCCESS)
|
||||
[self logWithFormat: @"memcached error: unable to cache values with subtype '%@' for user '%@'", theType, theLogin];
|
||||
|
||||
Reference in New Issue
Block a user