forked from ltsopensource/light-task-scheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
解决repeat job两个bug:job多执行一次,不按照job的第一次初始时间执行。
repeatedCount已经重复的次数,从1开始,最大值repeatCount;repeatCount可重复次数,从0开始。 假如可执行job列表里的repeatedCount假如为2,那么此时RepeatJobQueue里面的repeatedCount值应该为1。当这个可执行job执行完后,RepeatJobQueue里面的repeatedCount更新为2,再次生成的可执行repeat job里的repeatedCount应该为3.
- Loading branch information
1 parent
b8f66b9
commit 2b10aa9
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters