Add Oban for background jobs.
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
# General application configuration
|
||||
import Config
|
||||
|
||||
config :ash_oban, pro?: false
|
||||
config :decentralised_book_index, Oban, plugins: [{Oban.Plugins.Cron, []}]
|
||||
|
||||
config :mime,
|
||||
extensions: %{"json" => "application/vnd.api+json"},
|
||||
types: %{"application/vnd.api+json" => ["json"]}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import Config
|
||||
config :decentralised_book_index, Oban, testing: :manual
|
||||
config :decentralised_book_index, token_signing_secret: "k+YMBGan4wi4I3DRYRVLNVCOIDIqm+O5"
|
||||
config :ash, disable_async?: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user