1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-18 20:59:39 +02:00
Maybe/app/jobs/enrich_transaction_batch_job.rb
Zach Gollwitzer 19cc63c8f4
Use Redis for ActiveJob and ActionCable (#2004)
* Use Redis for ActiveJob and ActionCable

* Fix alwaysApply setting

* Update queue names and weights

* Tweak weights

* Update job queues

* Update docker setup guide

* Remove deprecated upgrade columns from users table

* Refactor Redis configuration for Sidekiq and caching in production environment

* Add Sidekiq Sentry monitoring

* queue naming fix

* Clean up schema
2025-03-19 12:36:16 -04:00

7 lines
195 B
Ruby

class EnrichTransactionBatchJob < ApplicationJob
queue_as :low_priority
def perform(account, batch_size = 100, offset = 0)
account.enrich_transaction_batch(batch_size, offset)
end
end