Changeset 2235


Ignore:
Timestamp:
13 Sep 2007, 15:44:22 (17 years ago)
Author:
joachim
Message:

fix for #310 new site can now be instanciated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/PatchQueueCatalogProcessQueue.py

    r2079 r2235  
    99logger = logging.getLogger('event.QueueCatalog')
    1010
     11def __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   
    1120def _process_queue(self, queue, limit):
    1221    """Process a single queue"""
     
    5766    return count
    5867from Products.QueueCatalog.QueueCatalog import QueueCatalog
     68QueueCatalog.__init__ = __init__
    5969QueueCatalog._process_queue = _process_queue
     70
Note: See TracChangeset for help on using the changeset viewer.