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
front.
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())
/Peter
_______________________________________________
calendarserver-dev mailing list
calendarserver-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev