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

source_changes at macosforge.org source_changes at macosforge.org
Tue May 12 13:39:19 PDT 2009


Revision: 4233
          http://trac.macosforge.org/projects/calendarserver/changeset/4233
Author:   wsanchez at apple.com
Date:     2009-05-12 13:39:19 -0700 (Tue, 12 May 2009)
Log Message:
-----------
Check for processMonitor attr instead of config.ProcessType == "Combined"

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

Modified: CalendarServer/trunk/calendarserver/tap/caldav.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/caldav.py	2009-05-12 19:42:23 UTC (rev 4232)
+++ CalendarServer/trunk/calendarserver/tap/caldav.py	2009-05-12 20:39:19 UTC (rev 4233)
@@ -396,7 +396,7 @@
                 config.reload()
 
                 # If combined service send signal to all caldavd children
-                if config.ProcessType == "Combined":
+                if hasattr(service, "processMonitor"):
                     service.processMonitor.signalAll(signal.SIGHUP, "caldav")
 
                 # FIXME: There is no memcachepool.getCachePool
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090512/9f0c7f2f/attachment.html>


More information about the calendarserver-changes mailing list