[CalendarServer-changes] [3659] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Feb 11 15:35:42 PST 2009


Revision: 3659
          http://trac.macosforge.org/projects/calendarserver/changeset/3659
Author:   sagen at apple.com
Date:     2009-02-11 15:35:41 -0800 (Wed, 11 Feb 2009)
Log Message:
-----------
When started via launchd, use kqueue reactor; also have the mail and notification gateways honor the --reactor arg.

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

Modified: CalendarServer/trunk/calendarserver/tap/caldav.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/caldav.py	2009-02-11 22:15:51 UTC (rev 3658)
+++ CalendarServer/trunk/calendarserver/tap/caldav.py	2009-02-11 23:35:41 UTC (rev 3659)
@@ -949,6 +949,7 @@
             notificationsArgv = [
                 sys.executable,
                 config.Twisted.twistd,
+                "--reactor=%s" % (config.Twisted.reactor,),
                 "-n", "caldav_notifier",
                 "-f", options["config"],
             ]
@@ -964,6 +965,7 @@
             mailGatewayArgv = [
                 sys.executable,
                 config.Twisted.twistd,
+                "--reactor=%s" % (config.Twisted.reactor,),
                 "-n", "caldav_mailgateway",
                 "-f", options["config"],
             ]

Modified: CalendarServer/trunk/contrib/launchd/calendarserver.plist
===================================================================
--- CalendarServer/trunk/contrib/launchd/calendarserver.plist	2009-02-11 22:15:51 UTC (rev 3658)
+++ CalendarServer/trunk/contrib/launchd/calendarserver.plist	2009-02-11 23:35:41 UTC (rev 3659)
@@ -30,6 +30,8 @@
   <array>
     <string>/usr/sbin/caldavd</string>
     <string>-X</string>
+    <string>-R</string>
+    <string>caldav_kqueue</string>
   </array>
 
   <key>InitGroups</key>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090211/3650f89f/attachment.html>


More information about the calendarserver-changes mailing list