[CalendarServer-changes] [7645] CalendarServer/trunk/contrib/performance/loadtest/ical.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Jun 22 09:32:16 PDT 2011


Revision: 7645
          http://trac.macosforge.org/projects/calendarserver/changeset/7645
Author:   exarkun at twistedmatrix.com
Date:     2011-06-22 09:32:15 -0700 (Wed, 22 Jun 2011)
Log Message:
-----------
Lose the exception for the multi-day vfreebusy attempt; just do the query for the first day.

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/loadtest/ical.py

Modified: CalendarServer/trunk/contrib/performance/loadtest/ical.py
===================================================================
--- CalendarServer/trunk/contrib/performance/loadtest/ical.py	2011-06-22 15:15:16 UTC (rev 7644)
+++ CalendarServer/trunk/contrib/performance/loadtest/ical.py	2011-06-22 16:32:15 UTC (rev 7645)
@@ -705,7 +705,8 @@
 
         # iCal issues 24 hour wide vfreebusy requests, starting and ending at 4am.
         if start.date() != end.date():
-            raise RuntimeError("Cannot vfreebusy across multiple days")
+            msg("Availability request spanning multiple days (%r to %r), "
+                "dropping the end date." % (start, end))
 
         start = start.replace(hour=0, minute=0, second=0, microsecond=0)
         end = start + timedelta(hours=24)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110622/a62d296c/attachment.html>


More information about the calendarserver-changes mailing list