[CalendarServer-dev] Is this a bug?
apm at one.com
Tue Aug 18 01:03:33 PDT 2009
Morgen Sagen wrote:
> You probably want your Directory to subclass
> twistedcaldav.directory.cachingdirectory.CachingDirectoryService which
> now lazily faults in directory records rather than listing them all up
Btw... the problem is actually not that my directory service doesn't
inherit from CachingDirectoryService.
The problem is that AggregateDirectoryService doesn't.
No matter how you implement your directory service it'll all be wrapped
in AggregateDirectoryService which - as far as I can se - in DCS2.2 will
always fall back in the dummy implementation of recordWithGUID() in
DirectoryService. (which requires a working allRecords())
More information about the calendarserver-dev