[CalendarServer-changes] [9639] CalendarServer/branches/users/glyph/q

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 11 01:55:12 PDT 2012


Revision: 9639
          http://trac.macosforge.org/projects/calendarserver/changeset/9639
Author:   glyph at apple.com
Date:     2012-08-11 01:55:12 -0700 (Sat, 11 Aug 2012)
Log Message:
-----------
clarify some details

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/q/twext/enterprise/queue.py

Property Changed:
----------------
    CalendarServer/branches/users/glyph/q/

Modified: CalendarServer/branches/users/glyph/q/twext/enterprise/queue.py
===================================================================
--- CalendarServer/branches/users/glyph/q/twext/enterprise/queue.py	2012-08-11 08:55:12 UTC (rev 9638)
+++ CalendarServer/branches/users/glyph/q/twext/enterprise/queue.py	2012-08-11 08:55:12 UTC (rev 9639)
@@ -627,7 +627,11 @@
     def choosePeer(self):
         """
         Choose a peer to distribute work to based on the current known slot
-        occupancy of the other masters.
+        occupancy of the other masters.  Note that this will prefer
+        distributing work to local workers until the current node is full,
+        because that should be lower-latency.  Also, if no peers are available,
+        work will be submitted locally even if the worker pool is already
+        over-subscribed.
 
         @return: a L{Deferred <twisted.internet.defer.Deferred>} which fires
             with the chosen 'peer', i.e. object with a C{performWork} method,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120811/50764c2c/attachment.html>


More information about the calendarserver-changes mailing list