[CalendarServer-changes] [6485] CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Oct 29 13:43:45 PDT 2010
Revision: 6485
http://trac.macosforge.org/projects/calendarserver/changeset/6485
Author: sagen at apple.com
Date: 2010-10-29 13:43:42 -0700 (Fri, 29 Oct 2010)
Log Message:
-----------
Don't prefetch groupsForGUID when faulting in a record.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
Modified: CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py 2010-10-29 16:34:03 UTC (rev 6484)
+++ CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py 2010-10-29 20:43:42 UTC (rev 6485)
@@ -753,11 +753,6 @@
origIndexKey = origIndexKey.encode("utf-8")
self.log_debug("Storing (%s %s) %s in internal cache" % (indexType, origIndexKey, record))
- # Fetch the set of groups this record is a member of so we can
- # cache it, rather than have each process make the same group
- # lookup
- record._groupMembershipGUIDs = self.groupsForGUID(record.guid)
-
self.recordCacheForType(recordType).addRecord(record, indexType, origIndexKey)
def isAvailable(self):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101029/08819c2d/attachment.html>
More information about the calendarserver-changes
mailing list