gevent.py 文件源码

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

项目:squishy 作者: tmehlinger 项目源码 文件源码
def __init__(self, func, pool_size=100, timeout=None):
        # XXX: Is it necessary to patch all? I know we need at least, socket,
        # ssl, dns, and signal. There may be calls inside boto/botocore that
        # require more patching.
        super(GeventWorker, self).__init__(func, pool_size=pool_size,
                                           timeout=timeout)
        self.logger = get_logger(__name__)
        self.pool = Pool(size=pool_size)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号