Skip to content

Commit

Permalink
fix typos in comments (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Aug 4, 2023
1 parent 0a4c573 commit cf2d2db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit cf2d2db

Please sign in to comment.