Class: ParallelWorkforce::Job::SidekiqRails
- Defined in:
- lib/parallel_workforce/job/sidekiq_rails.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Util::JobHelper
included, #invoke_performer, #invoke_performer_with_time_zone_name_and_locale
Class Method Details
.enqueue_actor(actor_class_name:, result_key:, index:, server_revision:, serialized_actor_args:) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/parallel_workforce/job/sidekiq_rails.rb', line 5 def enqueue_actor(actor_class_name:, result_key:, index:, server_revision:, serialized_actor_args:) enqueue_actor_job( :perform_async, actor_class_name: actor_class_name, result_key: result_key, index: index, server_revision: server_revision, serialized_actor_args: serialized_actor_args, time_zone_name: Time.zone.name, locale: I18n.locale&.to_s, ) end |
Instance Method Details
#perform(args) ⇒ Object
19 20 21 |
# File 'lib/parallel_workforce/job/sidekiq_rails.rb', line 19 def perform(args) invoke_performer_with_time_zone_name_and_locale(args) end |