mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +02:00
Change job adapter to :good_job.
This commit is contained in:
parent
3a0170c3db
commit
0e4f75b7e8
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ module Maybe
|
||||||
api_token: ENV['POSTMARK_API_TOKEN']
|
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.writing_role = :primary
|
||||||
config.active_record.reading_role = :primary_replica
|
config.active_record.reading_role = :primary_replica
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue