Skip to content

Releases: fcfangcc/pyxxl

v0.2.1 配置统一用ExecutorConfig传递

12 Aug 02:44
8446a4a
Compare
Choose a tag to compare

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

05 Aug 13:24
003c805
Compare
Choose a tag to compare

0.1.7

  • 优化错误信息
  • 支持自定义执行器参数
  • 支持executorTimeout

add doc

09 Jun 10:04
Compare
Choose a tag to compare

update doc

fix kill bug and add mypy

19 May 07:30
Compare
Choose a tag to compare
  1. fix kill bug
  2. add mypy
  3. add cov

add doc and use poetry test

29 Apr 09:53
Compare
Choose a tag to compare
v0.1.4

doc: fix

v0.1.3

08 Apr 07:26
Compare
Choose a tag to compare

test ci