[CalendarServer-changes] [4676] CalendarServer/trunk/twistedcaldav/notify.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Oct 30 10:42:07 PDT 2009


Revision: 4676
          http://trac.macosforge.org/projects/calendarserver/changeset/4676
Author:   sagen at apple.com
Date:     2009-10-30 10:42:07 -0700 (Fri, 30 Oct 2009)
Log Message:
-----------
Disable notification rescheduling

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/notify.py

Modified: CalendarServer/trunk/twistedcaldav/notify.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/notify.py	2009-10-30 17:41:11 UTC (rev 4675)
+++ CalendarServer/trunk/twistedcaldav/notify.py	2009-10-30 17:42:07 UTC (rev 4676)
@@ -333,8 +333,14 @@
     """
 
     delaySeconds = 5
-    sendAnywayAfterCount = 5
 
+    # sendAnywayAfterCount can be used to control how many times a notification
+    # countdown timer is reset because of new changes.  Once a notification
+    # has been delayed 'sendAnywayAfterCount' times, it is sent anyway,
+    # otherwise a busy calendar might never have a notification sent out.
+    # Set this to 0 to disable the timer reset feature.
+    sendAnywayAfterCount = 0
+
     def __init__(self, notifiers, reactor=None, delaySeconds=None,
         sendAnywayAfterCount=None):
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091030/6eda0532/attachment.html>


More information about the calendarserver-changes mailing list