Reduce terrain queue concurrency to 1 to avoid 429 rate limits
Open-Meteo elevation API rate-limits when two terrain workers fire concurrent requests.
This commit is contained in:
parent
e5b65ca2bc
commit
653efa450a
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ config :microwaveprop, MicrowavepropWeb.Endpoint,
|
|||
|
||||
config :microwaveprop, Oban,
|
||||
repo: Microwaveprop.Repo,
|
||||
queues: [solar: 1, weather: 3, enqueue: 1, hrrr: 2, terrain: 2],
|
||||
queues: [solar: 1, weather: 3, enqueue: 1, hrrr: 2, terrain: 1],
|
||||
plugins: [
|
||||
{Oban.Plugins.Pruner, max_age: 3600 * 24},
|
||||
{Oban.Plugins.Cron,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue