1 Star 1 Fork 2

Ekber/haipproxy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
scheduler_booter.py 628 Bytes
一键复制 编辑 原始数据 按行查看 历史
"""
This module is used to start spider scheduler and validator scheduler.
You can start crawler scheduler using the following cmd:
python scheduler_booter.py --usage crawler
If you want to start common scheduler only, run:
python scheduler_booter.py --usage crawler common
If you want to start validator scheduler, run:
python scheduler_booter.py --usage validator
Notice that the scheduler doesn't schedule init queue.
If you want to start https validator only, run:
python scheduler_booter.py --usage validator https
"""
from haipproxy.scheduler import scheduler_start
if __name__ == '__main__':
scheduler_start()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ekber/haipproxy.git
git@gitee.com:ekber/haipproxy.git
ekber
haipproxy
haipproxy
master

搜索帮助