Modified: CalendarServer/trunk/twistedcaldav/resource.py (6478 => 6479)
--- CalendarServer/trunk/twistedcaldav/resource.py 2010-10-28 01:49:29 UTC (rev 6478)
+++ CalendarServer/trunk/twistedcaldav/resource.py 2010-10-28 14:27:52 UTC (rev 6479)
@@ -986,9 +986,13 @@
continue
if child.isSpecialCollection(type):
callback(child, childpath)
- elif child.isCollection():
- if depth == "infinity":
- yield child.findSpecialCollectionsFaster(type, depth, request, callback, privileges)
+
+ # No more regular collections. If we leave this in then dropbox is scanned at depth:infinity
+ # and that is very painful as it requires scanning all calendar resources too. Eventually we need
+ # to fix drop box and probably re-enable this for the generic case.
+# elif child.isCollection():
+# if depth == "infinity":
+# yield child.findSpecialCollectionsFaster(type, depth, request, callback, privileges)
findSpecialCollections = findSpecialCollectionsFaster