1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-08 06:55:21 +02:00

Change job adapter to :good_job.

This commit is contained in:
Claude Ayitey 2024-01-06 14:59:42 +00:00
parent 3a0170c3db
commit 0e4f75b7e8

View file

@ -25,6 +25,9 @@ module Maybe
api_token: ENV['POSTMARK_API_TOKEN']
}
config.active_job.queue_adapter = :good_job
config.good_job.execution_mode = :async
config.active_record.writing_role = :primary
config.active_record.reading_role = :primary_replica
end