Revision: 6485 http://trac.macosforge.org/projects/calendarserver/changeset/6485 Author: sagen@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):
participants (1)
-
source_changes@macosforge.org