Changeset 2235
- Timestamp:
- 13 Sep 2007, 15:44:22 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/PatchQueueCatalogProcessQueue.py
r2079 r2235 9 9 logger = logging.getLogger('event.QueueCatalog') 10 10 11 def __init__(self, 12 buckets=1009, 13 conflict_policy=SAFE_POLICY, 14 location = "portal_catalog_real"): 15 self._buckets = buckets 16 self._conflict_policy = conflict_policy 17 self._clearQueues() 18 self._location = location 19 11 20 def _process_queue(self, queue, limit): 12 21 """Process a single queue""" … … 57 66 return count 58 67 from Products.QueueCatalog.QueueCatalog import QueueCatalog 68 QueueCatalog.__init__ = __init__ 59 69 QueueCatalog._process_queue = _process_queue 70
Note: See TracChangeset for help on using the changeset viewer.