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

fix typos in comments #57

Merged
merged 1 commit into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion quartz/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ type StdScheduler struct {

type StdSchedulerOptions struct {
// When true, the scheduler will run jobs synchronously,
// waiting for each exceution instance of the job to return
// waiting for each execution instance of the job to return
// before starting the next execution. Running with this
// option effectively serializes all job execution.
BlockingExecution bool
Expand Down
2 changes: 1 addition & 1 deletion quartz/trigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func NewRunOnceTrigger(delay time.Duration) *RunOnceTrigger {
}

// NextFireTime returns the next time at which the RunOnceTrigger is scheduled to fire.
// Sets exprired to true afterwards.
// Sets expired to true afterwards.
func (ot *RunOnceTrigger) NextFireTime(prev int64) (int64, error) {
if !ot.expired {
next := prev + ot.Delay.Nanoseconds()
Expand Down