Releases: fcfangcc/pyxxl
Releases · fcfangcc/pyxxl
v0.2.1 配置统一用ExecutorConfig传递
1:取消原有的参数(会和0.1版本有不兼容,只需要少量修改即可)
2:新增ExecutorConfig类,所有的配置通过这个传递
3:支持从环境变量加载配置信息 文档优先级说明
runner = PyxxlRunner(
"http://localhost:8080/xxl-job-admin/api/",
executor_name="xxl-job-executor-sample",
port=9999,
host="172.17.0.1",
)
# 修改为如下所示
from pyxxl import ExecutorConfig
config = ExecutorConfig(
xxl_admin_baseurl="http://localhost:8080/xxl-job-admin/api/",
executor_app_name="xxl-job-executor-sample",
executor_host="172.17.0.1",
)
app = PyxxlRunner(config)
v0.1.7
add doc
fix kill bug and add mypy
- fix kill bug
- add mypy
- add cov
add doc and use poetry test
v0.1.4 doc: fix