towerops/priv/static
Graham McIntire d9bf4f260b fix(monitoring): stop CheckExecutorWorker duplicate job buildup with unique constraint
CheckExecutorWorker had no Oban `unique` constraint, so every insert path
created a fresh job row: self-scheduling, JobHealthCheckWorker, the check
form/API/GraphQL, and — the main amplifier — Monitoring.schedule_check/1
called unconditionally by snmp.ex discovery after create_check/1, which is
an upsert that returns {:ok, check} even when the check already exists.
Every SNMP discovery pass re-enqueued a job for every existing check, so
the check_executors queue grew to ~70k jobs for ~5.7k checks and stopped
draining.

Add `unique: [keys: [:check_id], states: [:available, :scheduled,
:retryable], period: :infinity]`. `:executing` is excluded so perform/1's
self-reschedule does not conflict with its own running job.

Also add the `checks` and `check_executors` queues to config/dev.exs —
they were missing from dev entirely (prod's runtime.exs already had them).
2026-05-14 14:01:07 -05:00
..
images add texas footer 2026-01-18 13:15:27 -06:00
vendor/leaflet fix: vendor Leaflet 1.9.4 locally instead of fetching from unpkg 2026-05-01 17:06:54 -05:00
android-icon-36x36.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
android-icon-48x48.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
android-icon-72x72.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
android-icon-96x96.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
android-icon-144x144.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
android-icon-192x192.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-57x57.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-60x60.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-72x72.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-76x76.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-114x114.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-120x120.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-144x144.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-152x152.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-180x180.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon-precomposed.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
apple-icon.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
changelog.txt fix(monitoring): stop CheckExecutorWorker duplicate job buildup with unique constraint 2026-05-14 14:01:07 -05:00
favicon-16x16.png fix: use transparent background for stoplight favicon 2026-03-06 14:46:02 -06:00
favicon-32x32.png fix: use transparent background for stoplight favicon 2026-03-06 14:46:02 -06:00
favicon-96x96.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
favicon.ico fix: use transparent background for stoplight favicon 2026-03-06 14:46:02 -06:00
ms-icon-70x70.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
ms-icon-144x144.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
ms-icon-150x150.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
ms-icon-310x310.png sanitize snmp data and fix some cpu things 2026-01-22 16:53:01 -06:00
robots.txt feat: add /sitemap.xml and update robots.txt for agent discovery 2026-04-17 13:58:19 -05:00