celery.py 文件源码

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

项目:thorn 作者: robinhood 项目源码 文件源码
def send(self, event, payload, sender,
             timeout=None, context=None, **kwargs):
        # the requests are sorted by url, so we group them into chunks
        # each containing a list of requests for that host/port/scheme pair,
        # with up to :setting:`THORN_CHUNKSIZE` requests each.
        #
        # this way requests have a good chance of reusing keepalive
        # connections as requests with the same host are grouped together.
        return self.as_request_group(self.prepare_requests(
            event, payload, sender, timeout, context, **kwargs)).delay()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号