[CalendarServer-changes] [10274] CalendarServer/branches/users/glyph/queue-locking-and-timing

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 4 16:39:42 PST 2013


Revision: 10274
          http://trac.calendarserver.org//changeset/10274
Author:   glyph at apple.com
Date:     2013-01-04 16:39:42 -0800 (Fri, 04 Jan 2013)
Log Message:
-----------
More docstring cleanup

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/queue-locking-and-timing/twext/enterprise/queue.py
    CalendarServer/branches/users/glyph/queue-locking-and-timing/twext/enterprise/test/test_queue.py

Property Changed:
----------------
    CalendarServer/branches/users/glyph/queue-locking-and-timing/

Modified: CalendarServer/branches/users/glyph/queue-locking-and-timing/twext/enterprise/queue.py
===================================================================
--- CalendarServer/branches/users/glyph/queue-locking-and-timing/twext/enterprise/queue.py	2013-01-05 00:39:41 UTC (rev 10273)
+++ CalendarServer/branches/users/glyph/queue-locking-and-timing/twext/enterprise/queue.py	2013-01-05 00:39:42 UTC (rev 10274)
@@ -1382,9 +1382,7 @@
 
 class LocalQueuer(object):
     """
-    When work is enqueued with this queuer, it is just executed immediately,
-    within the same transaction.  While this is technically correct, it is not
-    very efficient.
+    When work is enqueued with this queuer, it is just executed locally.
     """
     implements(IQueuer)
 

Modified: CalendarServer/branches/users/glyph/queue-locking-and-timing/twext/enterprise/test/test_queue.py
===================================================================
--- CalendarServer/branches/users/glyph/queue-locking-and-timing/twext/enterprise/test/test_queue.py	2013-01-05 00:39:41 UTC (rev 10273)
+++ CalendarServer/branches/users/glyph/queue-locking-and-timing/twext/enterprise/test/test_queue.py	2013-01-05 00:39:42 UTC (rev 10274)
@@ -429,7 +429,7 @@
         by the time the L{Deferred} returned from the resulting
         L{WorkProposal}'s C{whenExecuted} method has fired.
         """
-        # TODO: this exact test should run against NullQueuer as well.
+        # TODO: this exact test should run against LocalQueuer as well.
         def operation(txn):
             # TODO: how does 'enqueue' get associated with the transaction? This
             # is not the fact with a raw t.w.enterprise transaction.  Should
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130104/9c237d42/attachment.html>


More information about the calendarserver-changes mailing list