Skip to content

重构定时任务实现 #7171

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

Closed
88250 opened this issue Jan 26, 2023 · 1 comment
Closed

重构定时任务实现 #7171

88250 opened this issue Jan 26, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@88250
Copy link
Member

88250 commented Jan 26, 2023

使用 https://github.com/go-co-op/gocron 替换现在的 for {sleep/ticker}

@88250 88250 added the Refactor label Jan 26, 2023
@88250 88250 added this to the 2.7.1 milestone Jan 26, 2023
@88250 88250 self-assigned this Jan 26, 2023
88250 added a commit that referenced this issue Jan 26, 2023
88250 added a commit that referenced this issue Jan 26, 2023
88250 added a commit that referenced this issue Jan 26, 2023
88250 added a commit that referenced this issue Jan 26, 2023
88250 added a commit that referenced this issue Jan 26, 2023
@88250 88250 closed this as completed Jan 26, 2023
@88250 88250 reopened this Jan 27, 2023
@88250 88250 removed the Refactor label Jan 27, 2023
@88250 88250 assigned 88250 and unassigned 88250 Jan 27, 2023
@88250 88250 removed this from the 2.7.1 milestone Jan 27, 2023
@88250
Copy link
Member Author

88250 commented Jan 27, 2023

测试后发现 gocron 函数重复调用抑制机制好像有问题,任务抑制时间过长,会导致任务长时间得不到执行,还是自己内部重构一下算了。

@88250 88250 added the Refactor label Jan 27, 2023
@88250 88250 added this to the 2.7.1 milestone Jan 27, 2023
88250 added a commit that referenced this issue Jan 27, 2023
@88250 88250 closed this as completed Jan 27, 2023
88250 added a commit that referenced this issue Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant