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

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


Revision: 10264
          http://trac.calendarserver.org//changeset/10264
Author:   glyph at apple.com
Date:     2013-01-04 16:39:27 -0800 (Fri, 04 Jan 2013)
Log Message:
-----------
Fix it.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/queue-locking-and-timing/twext/enterprise/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:26 UTC (rev 10263)
+++ CalendarServer/branches/users/glyph/queue-locking-and-timing/twext/enterprise/queue.py	2013-01-05 00:39:27 UTC (rev 10264)
@@ -344,11 +344,13 @@
     @type notBefore: L{datetime.datetime} on instance,
         L{twext.enterprise.dal.syntax.ColumnSyntax} on class.
 
-    @ivar group: If specified, the name of the mutual exclusion.
-    @type group: L{unicode} on instance,
-        L{twext.enterprise.dal.syntax.ColumnSyntax} on class.
+    @ivar group: If not C{None}, a unique-to-the-database identifier for which
+        only one L{WorkItem} will execute at a time.
+    @type group: L{unicode} or L{NoneType}
     """
 
+    group = None
+
     @abstract
     def doWork(self):
         """
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130104/334a0d16/attachment.html>


More information about the calendarserver-changes mailing list