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

source_changes at macosforge.org source_changes at macosforge.org
Thu May 19 15:04:30 PDT 2016


Revision: 15616
          http://trac.calendarserver.org//changeset/15616
Author:   sagen at apple.com
Date:     2016-05-19 15:04:30 -0700 (Thu, 19 May 2016)
Log Message:
-----------
Allow group cacher batching to be configured via plist

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

Modified: CalendarServer/trunk/calendarserver/tap/caldav.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/caldav.py	2016-05-19 21:06:29 UTC (rev 15615)
+++ CalendarServer/trunk/calendarserver/tap/caldav.py	2016-05-19 22:04:30 UTC (rev 15616)
@@ -966,6 +966,9 @@
             groupCacher = GroupCacher(
                 directory,
                 updateSeconds=config.GroupCaching.UpdateSeconds,
+                initialSchedulingDelaySeconds=config.GroupCaching.InitialSchedulingDelaySeconds,
+                batchSize=config.GroupCaching.BatchSize,
+                batchSchedulingIntervalSeconds=config.GroupCaching.BatchSchedulingIntervalSeconds,
                 useDirectoryBasedDelegates=config.GroupCaching.UseDirectoryBasedDelegates,
                 cacheNotifier=cacheNotifier,
             )
@@ -1385,6 +1388,9 @@
                 groupCacher = GroupCacher(
                     directory,
                     updateSeconds=config.GroupCaching.UpdateSeconds,
+                    initialSchedulingDelaySeconds=config.GroupCaching.InitialSchedulingDelaySeconds,
+                    batchSize=config.GroupCaching.BatchSize,
+                    batchSchedulingIntervalSeconds=config.GroupCaching.BatchSchedulingIntervalSeconds,
                     useDirectoryBasedDelegates=config.GroupCaching.UseDirectoryBasedDelegates,
                     cacheNotifier=cacheNotifier,
                 )
@@ -1961,6 +1967,9 @@
                 groupCacher = GroupCacher(
                     directory,
                     updateSeconds=config.GroupCaching.UpdateSeconds,
+                    initialSchedulingDelaySeconds=config.GroupCaching.InitialSchedulingDelaySeconds,
+                    batchSize=config.GroupCaching.BatchSize,
+                    batchSchedulingIntervalSeconds=config.GroupCaching.BatchSchedulingIntervalSeconds,
                     useDirectoryBasedDelegates=config.GroupCaching.UseDirectoryBasedDelegates,
                     cacheNotifier=cacheNotifier,
                 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160519/1152a6aa/attachment.html>


More information about the calendarserver-changes mailing list