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

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 3 08:58:42 PDT 2016


Revision: 15650
          http://trac.calendarserver.org//changeset/15650
Author:   sagen at apple.com
Date:     2016-06-03 08:58:42 -0700 (Fri, 03 Jun 2016)
Log Message:
-----------
Always propfind the home at startup so we get the push keys

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

Modified: CalendarServer/trunk/contrib/performance/loadtest/ical.py
===================================================================
--- CalendarServer/trunk/contrib/performance/loadtest/ical.py	2016-06-03 05:02:04 UTC (rev 15649)
+++ CalendarServer/trunk/contrib/performance/loadtest/ical.py	2016-06-03 15:58:42 UTC (rev 15650)
@@ -1466,7 +1466,7 @@
             returnValue(False)
         self._checking.add(calendarHomeSet)
 
-        if not self.calendarHomeToken:
+        if firstTime or not self.calendarHomeToken:
             calendars, notificationCollection, newCalendarHomeToken, results = yield self._calendarHomePropfind(calendarHomeSet)
         else:
             calendars, notificationCollection, newCalendarHomeToken = yield self._calendarHomeSync(calendarHomeSet)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160603/64f2b4d8/attachment.html>


More information about the calendarserver-changes mailing list