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

修改时间轮转动的逻辑JobScheduleHelper.java #3283

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

Conversation

eagleandsanake
Copy link

@eagleandsanake eagleandsanake commented Aug 16, 2023

JobScheduleHelper 中213行
mod: 获取时间轮中的任务的时候,不需要再+60 % 60

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

The description of the PR:

Other information:

mod: 获取时间轮中的任务的时候,不需要再+60 % 60
@eagleandsanake
Copy link
Author

再取下一个时间轮的任务的时候,实际上是不需要+60秒再%60s,因为Calendar获取的sencond 已经是一个小于60秒的数值了。
如果是我理解的偏差, 希望作者大大可以给回复,谢谢大佬!

@eagleandsanake eagleandsanake changed the title Update JobScheduleHelper.java 修改时间轮转动的逻辑JobScheduleHelper.java Aug 16, 2023
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.

None yet

1 participant