[CalendarServer-changes] [5857] CalendarServer/branches/users/wsanchez/deployment-pre-partition

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 7 13:36:06 PDT 2010


Revision: 5857
          http://trac.macosforge.org/projects/calendarserver/changeset/5857
Author:   glyph at apple.com
Date:     2010-07-07 13:36:05 -0700 (Wed, 07 Jul 2010)
Log Message:
-----------
merge r5856 into deployment

Revision Links:
--------------
    http://trac.macosforge.org/projects/calendarserver/changeset/5856

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/cluster.py
    CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/tap.py

Property Changed:
----------------
    CalendarServer/branches/users/wsanchez/deployment-pre-partition/


Property changes on: CalendarServer/branches/users/wsanchez/deployment-pre-partition
___________________________________________________________________
Modified: svn:mergeinfo
   - /CalendarServer/branches/users/glyph/deployment-plus-sendfd:5426-5429
/CalendarServer/branches/users/sagen/deployment-inherit-fds-4571:4573-4709
/CalendarServer/branches/users/sagen/deployment-inspection:4927-4937
/CalendarServer/branches/users/wsanchez/deployment:5845,5853
   + /CalendarServer/branches/users/glyph/deployment-plus-sendfd:5426-5429
/CalendarServer/branches/users/sagen/deployment-inherit-fds-4571:4573-4709
/CalendarServer/branches/users/sagen/deployment-inspection:4927-4937
/CalendarServer/branches/users/wsanchez/deployment:5845,5853,5856

Modified: CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/cluster.py
===================================================================
--- CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/cluster.py	2010-07-07 20:35:12 UTC (rev 5856)
+++ CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/cluster.py	2010-07-07 20:36:05 UTC (rev 5857)
@@ -20,7 +20,10 @@
 import socket
 import time
 import signal
+import ctypes
 
+nice = ctypes.CDLL('libc.dylib').nice
+
 from twisted.runner import procmon
 from twisted.application import internet, service
 from twisted.internet import reactor, process
@@ -369,6 +372,7 @@
 
 def makeService_Combined(self, options):
 
+    nice(-1)
 
     # Refresh directory information on behalf of the child processes
     directoryClass = namedClass(config.DirectoryService["type"])

Modified: CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/tap.py
===================================================================
--- CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/tap.py	2010-07-07 20:35:12 UTC (rev 5856)
+++ CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/tap.py	2010-07-07 20:36:05 UTC (rev 5857)
@@ -18,7 +18,10 @@
 import stat
 import socket
 import signal
+import ctypes
 
+nice = ctypes.CDLL('libc.dylib').nice
+
 from zope.interface import implements
 
 from twisted.internet.address import IPv4Address
@@ -521,6 +524,7 @@
 
 
     def makeService_Slave(self, options):
+        nice(1)
         #
         # Change default log level to "info" as its useful to have
         # that during startup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100707/7da7780e/attachment-0001.html>


More information about the calendarserver-changes mailing list