mirror of
https://github.com/we-promise/sure
synced 2026-04-25 17:15:07 +02:00
Remove reference to nonexistent Sidekiq::Throttled gem (#950)
The sidekiq-throttled gem is not in the Gemfile, so including Sidekiq::Throttled::Job causes an uninitialized constant NameError at boot time, breaking production builds. https://claude.ai/code/session_01Bj7xgndJt28BcUHW1v1M9S Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class IndexaCapitalActivitiesFetchJob < ApplicationJob
|
class IndexaCapitalActivitiesFetchJob < ApplicationJob
|
||||||
include Sidekiq::Throttled::Job
|
|
||||||
|
|
||||||
queue_as :default
|
queue_as :default
|
||||||
|
|
||||||
sidekiq_options lock: :until_executed,
|
sidekiq_options lock: :until_executed,
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
class <%= class_name %>ActivitiesFetchJob < ApplicationJob
|
class <%= class_name %>ActivitiesFetchJob < ApplicationJob
|
||||||
include <%= class_name %>Account::DataHelpers
|
include <%= class_name %>Account::DataHelpers
|
||||||
include Sidekiq::Throttled::Job
|
|
||||||
|
|
||||||
queue_as :default
|
queue_as :default
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user