Disable propagation grid worker and add maintenance banner to map
This commit is contained in:
parent
2f65ec8dff
commit
0b68cb2d29
2 changed files with 10 additions and 3 deletions
|
|
@ -124,12 +124,14 @@ if config_env() == :prod do
|
||||||
{Oban.Plugins.Cron,
|
{Oban.Plugins.Cron,
|
||||||
crontab: [
|
crontab: [
|
||||||
{"0 8 * * *", Microwaveprop.Workers.SolarIndexWorker},
|
{"0 8 * * *", Microwaveprop.Workers.SolarIndexWorker},
|
||||||
{"*/5 * * * *", Microwaveprop.Commercial.PollWorker},
|
{"*/5 * * * *", Microwaveprop.Commercial.PollWorker}
|
||||||
{"5 * * * *", Microwaveprop.Workers.PropagationGridWorker}
|
# {"5 * * * *", Microwaveprop.Workers.PropagationGridWorker}
|
||||||
]}
|
]}
|
||||||
]
|
]
|
||||||
|
|
||||||
config :microwaveprop, :email_from, {"NTMS Propagation", "graham@w5isp.com"}
|
config :microwaveprop, :email_from, {"NTMS Propagation", "graham@w5isp.com"}
|
||||||
config :microwaveprop, hrrr_base_url: System.get_env("HRRR_BASE_URL", "http://skippy.w5isp.com:8080")
|
config :microwaveprop, hrrr_base_url: System.get_env("HRRR_BASE_URL", "http://skippy.w5isp.com:8080")
|
||||||
config :microwaveprop, srtm_tiles_dir: "/srtm"
|
config :microwaveprop, srtm_tiles_dir: "/srtm"
|
||||||
|
# config :microwaveprop, start_freshness_monitor: true
|
||||||
|
config :microwaveprop, start_freshness_monitor: false
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -276,10 +276,15 @@ defmodule MicrowavepropWeb.MapLive do
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<%!-- Maintenance banner --%>
|
||||||
|
<div class="absolute top-0 left-0 right-0 z-[1100] bg-warning text-warning-content text-center text-sm py-1 px-4">
|
||||||
|
Propagation scores are not currently being updated while we backfill historical data. Displayed data may be stale.
|
||||||
|
</div>
|
||||||
|
|
||||||
<%!-- Top-left control panel --%>
|
<%!-- Top-left control panel --%>
|
||||||
<div
|
<div
|
||||||
id="map-controls"
|
id="map-controls"
|
||||||
class="absolute top-2 left-12 z-[1000] flex flex-col gap-2 max-w-[calc(100vw-4rem)] md:left-14 md:top-3 md:max-w-none"
|
class="absolute top-9 left-12 z-[1000] flex flex-col gap-2 max-w-[calc(100vw-4rem)] md:left-14 md:top-10 md:max-w-none"
|
||||||
>
|
>
|
||||||
<div class="bg-base-100/90 shadow rounded-box border border-base-300 p-2 md:p-3 flex flex-col gap-2">
|
<div class="bg-base-100/90 shadow rounded-box border border-base-300 p-2 md:p-3 flex flex-col gap-2">
|
||||||
<div class="font-bold text-sm leading-tight px-1 flex items-center justify-between gap-2">
|
<div class="font-bold text-sm leading-tight px-1 flex items-center justify-between gap-2">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue