Skip to content

Commit 49a628e

Browse files
authored
Add comment for fugit (#2215)
1 parent 3ea9e79 commit 49a628e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

sentry-sidekiq/lib/sentry/sidekiq-scheduler/scheduler.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def new_job(name, interval_type, config, schedule, options)
3737
# so we convert it to minutes before passing in to the monitor.
3838
monitor_config = case interval_type
3939
when "cron"
40+
# fugit is a second order dependency of sidekiq-scheduler via rufus-scheduler
4041
parsed_cron = ::Fugit.parse_cron(schedule)
4142
timezone = parsed_cron.timezone
4243

sentry-sidekiq/spec/spec_helper.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ def perform
133133
end
134134
end
135135

136-
class HappyWorkerForCron < HappyWorker; end
137136
class HappyWorkerForCron < HappyWorker; end
138137
class HappyWorkerForScheduler < HappyWorker; end
139138
class HappyWorkerForSchedulerWithTimezone < HappyWorker; end

0 commit comments

Comments
 (0)