[CalendarServer-changes] [11253] CalendarServer/trunk/calendarserver/tap/caldav.py

source_changes at macosforge.org source_changes at macosforge.org
Wed May 29 08:08:11 PDT 2013


Revision: 11253
          http://trac.calendarserver.org//changeset/11253
Author:   cdaboo at apple.com
Date:     2013-05-29 08:08:11 -0700 (Wed, 29 May 2013)
Log Message:
-----------
Make this work in Single mode.

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/tap/caldav.py

Modified: CalendarServer/trunk/calendarserver/tap/caldav.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/caldav.py	2013-05-29 02:20:45 UTC (rev 11252)
+++ CalendarServer/trunk/calendarserver/tap/caldav.py	2013-05-29 15:08:11 UTC (rev 11253)
@@ -517,13 +517,13 @@
     @inlineCallbacks
     def startService(self):
         # Note: the "seconds in the future" args are being set to the LogID
-        # numbers to spread them out.  This is only needed until 
+        # numbers to spread them out.  This is only needed until
         # ultimatelyPerform( ) handles groups correctly.  Once that is fixed
         # these can be set to zero seconds in the future.
         if self.doImip:
-            yield scheduleNextMailPoll(self.store, int(config.LogID))
+            yield scheduleNextMailPoll(self.store, int(config.LogID) if config.LogID else 5)
         if self.doGroupCaching:
-            yield scheduleNextGroupCachingUpdate(self.store, int(config.LogID))
+            yield scheduleNextGroupCachingUpdate(self.store, int(config.LogID) if config.LogID else 5)
 
 
 
@@ -705,6 +705,7 @@
             return failure
 
 
+
 class CalDAVServiceMaker (LoggingMixIn):
     implements(IPlugin, IServiceMaker)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130529/ca52e290/attachment.html>


More information about the calendarserver-changes mailing list