[CalendarServer-changes] [1777]
CalendarServer/trunk/twistedcaldav/tap.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Aug 9 12:53:02 PDT 2007
Revision: 1777
http://trac.macosforge.org/projects/calendarserver/changeset/1777
Author: cdaboo at apple.com
Date: 2007-08-09 12:53:02 -0700 (Thu, 09 Aug 2007)
Log Message:
-----------
Make sure we don't use the unix socket pydir wrapper resource when the load balancer is not used.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/tap.py
Modified: CalendarServer/trunk/twistedcaldav/tap.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/tap.py 2007-08-09 19:41:19 UTC (rev 1776)
+++ CalendarServer/trunk/twistedcaldav/tap.py 2007-08-09 19:53:02 UTC (rev 1777)
@@ -514,7 +514,7 @@
log.msg("Setting up service")
if config.ProcessType == 'Slave':
- if config.MultiProcess['ProcessCount'] > 1:
+ if config.MultiProcess['ProcessCount'] > 1 and config.MultiProcess['LoadBalancer']['Enabled']:
realRoot = pdmonster.PDClientAddressWrapper(
logWrapper,
config.PythonDirector['ControlSocket'],
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070809/1721a966/attachment.html
More information about the calendarserver-changes
mailing list