dns-queue.py 文件源码

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

项目:dns-parallel-prober 作者: lorenzog 项目源码 文件源码
def run(self):
        # sleep for a small amount of time, between 0.1 and 0.9
        _sleep_for = abs(random.normalvariate(0.5, 0.5))
        log.debug("Mock probe {} sleeping for {}...".format(self.name, _sleep_for))
        time.sleep(_sleep_for)
        print("Mock prober {} done".format(self.name))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号