Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat 可配置化预读时间 #3567

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

celeenobug
Copy link

@celeenobug celeenobug commented Nov 10, 2024

使用者无需代码层面改动,即可实现时间轮预读范围修改,支持平滑升级,缺省处理逻辑与XxlJobAdminConfig其他参数保持一致,默认值保持不变。

  1. 自由调整范围,控制性能开销。
  2. 当前默认值5000ms情况下,新增5s内的任务并启动会提示调度类型非法,调降预读范围可提高动态任务自由度。

@celeenobug
Copy link
Author

celeenobug commented Nov 11, 2024

动态任务场景:如开启机器人连续做某动作(动作完成时长不一致),间隔3s,下发指令后需等待机器人动作执行完毕,再根据间隔时间创建新的任务。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant