def __init__(self, app, config={}):
        if not isinstance(app, App):
            raise TypeError('app must be an instance of asuka.app.App, not ' +
                            repr(app))
        config.update(app.web_config)
        config['app'] = app
        super(WebApp, self).__init__(config)
        try:
            pool_size = multiprocessing.cpu_count()
        except __HOLE__:
            pool_size = 3
        else:
            pool_size = pool_size * 2 + 1
        self.pool = multiprocessing.Pool(pool_size)
dataset/ETHPy150Open crosspop/asuka/asuka/web.py/WebApp.__init__