From cf2d2db01a148461cda3c193e088fef033015b00 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Fri, 4 Aug 2023 11:28:43 +0300 Subject: [PATCH] fix typos in comments (#57) --- quartz/scheduler.go | 2 +- quartz/trigger.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quartz/scheduler.go b/quartz/scheduler.go index 1777c48..74ad747 100644 --- a/quartz/scheduler.go +++ b/quartz/scheduler.go @@ -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 diff --git a/quartz/trigger.go b/quartz/trigger.go index 21470fe..e6edb0e 100644 --- a/quartz/trigger.go +++ b/quartz/trigger.go @@ -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()