In my config, Oban queue is set.
config :my_app, Oban, queue: [report: 5]
I want to remove the queue at runtime with runtime.exs
.
config :my_app, Oban, queue: []
But it doesn’t remove report queue, because it just deep merge Keyword.
> Application.get(:my_app, Oban)
[
queues: [report: 5]
]
Conflicting keys are overridden by the ones specified in
opts
, unless they are keywords, which are deep merged recursively.
https://hexdocs.pm/elixir/Config.html#config/3
Is there a way to remove key of Keyword in config?