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:
Graham McIntire 2026-03-30 08:08:33 -05:00
parent e5b65ca2bc
commit 653efa450a
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -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,