twisted.internet.endpoints.log - python examples

Here are the examples of the python api twisted.internet.endpoints.log taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 View Complete Implementation : pool.py
Copyright GNU General Public License v3.0
Author : Uninett
    def __init__(self, workers, max_jobs, threadpoolsize=None):
        twisted.internet.endpoints.log = HackLog
        self.workers = set()
        self.target_count = workers
        self.max_jobs = max_jobs
        self.threadpoolsize = threadpoolsize
        for i in range(self.target_count):
            self._spawn_worker()
        self.serial = 0
        self.jobs = dict()