[CalendarServer-changes] [6882] CalendarServer/trunk/twext/web2/metafd.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Feb 4 13:22:57 PST 2011
Revision: 6882
http://trac.macosforge.org/projects/calendarserver/changeset/6882
Author: glyph at apple.com
Date: 2011-02-04 13:22:57 -0800 (Fri, 04 Feb 2011)
Log Message:
-----------
Don't attempt to re-start dead servers when slave processes start reporting their termination.
Modified Paths:
--------------
CalendarServer/trunk/twext/web2/metafd.py
Modified: CalendarServer/trunk/twext/web2/metafd.py
===================================================================
--- CalendarServer/trunk/twext/web2/metafd.py 2011-02-04 21:12:45 UTC (rev 6881)
+++ CalendarServer/trunk/twext/web2/metafd.py 2011-02-04 21:22:57 UTC (rev 6882)
@@ -208,7 +208,7 @@
# If load has indeed decreased (i.e. in any case except 'a new,
# idle process replaced an old, idle process'), then start
# listening again.
- if result < previousStatus:
+ if result < previousStatus and self.running:
for f in self.factories:
f.myServer.myPort.startReading()
else:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110204/8390ccc9/attachment.html>
More information about the calendarserver-changes
mailing list