Skip to content

Commit d85a155

Browse files
zhoufeng1989Feng Zhou
andauthored
Fix/coordinator (#4)
* Remove unused codes. * Remove scheduled in OnceJob, move scheduledAt to commonJob. * Change context.Background to context.TODO. * Refactor isRunnable to IsSchedulable. * Refactor coordinate and run. * Add coordinator in GetLatestScheduledTime. * Add removeCoordinatorKeyByJobName. * Update test cases. * Rearrange functions. * Make coordinator.Coordinate unexported. Co-authored-by: Feng Zhou <feng.zhou@ihandysoft.com>
1 parent dc22930 commit d85a155

File tree

2 files changed

+480
-210
lines changed

2 files changed

+480
-210
lines changed

0 commit comments

Comments
 (0)