worker.py 文件源码

python
阅读 34 收藏 0 点赞 0 评论 0

项目:miracle 作者: mozilla 项目源码 文件源码
def handle_request(self, *args):  # pragma: no cover
        """
        Apply the configured 'timeout' value to each individual request.
        Note that self.timeout is set to half the configured timeout by
        the arbiter, so we use the value directly from the config.
        """
        with gevent.Timeout(self.cfg.timeout):
            return super(GeventWorker, self).handle_request(*args)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号