예제 #1
0
파일: spider.py 프로젝트: SMFOSS/melk.util
    def __init__(self, cache=None, **kw):
        """
        @param cache a folder to use as a cache or an httplib2 cache
        """
        ThreadPool.__init__(self, **kw)

        self._cache = cache
예제 #2
0
 def __init__(self):
     ThreadPool.__init__(self, poolsize=5, output_queue=TaskQueue())