client.py 文件源码

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

项目:minion 作者: alibaba 项目源码 文件源码
def wait_for_res(self):
        while not self.res_is_downloaded:
            if not self.download_thread.is_alive():
                logger.info('download thread exit in exceptions')
                self.download_thread.join()
                # raise DownloadError('download thread exit in exceptions')
            logger.debug(
                "Waiting for resource to complete, "
                "size of %s is %s now" %
                (self.res_url, self.res_downloaded_size()))
            time.sleep(2)
        return True
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号