Sha256: e1d4426e25a0abb8a5522288facfbbccbedbb4143acae4e21e127c6d15ffac6e
Contents?: true
Size: 432 Bytes
Versions: 6
Compression:
Stored size: 432 Bytes
Contents
# frozen_string_literal: true namespace :rails_transactional_outbox do desc "Starts the RailsTransactionalOutbox worker" task worker: :environment do $stdout.sync = true Rails.logger.info("Running rails_transactional_outbox:worker rake task.") threads_number = ENV.fetch("RAILS_TRANSACTIONAL_OUTBOX_THREADS_NUMBER", 1).to_i RailsTransactionalOutbox.start_outbox_worker(threads_number: threads_number) end end
Version data entries
6 entries across 6 versions & 1 rubygems