towerops/lib/towerops/workers
Graham McIntie b134a2e56a perf: LiveView event batching & PubSub optimization (TOW-26)
- Add 1.5s debounce to dashboard LiveView for alert events, preventing
  excessive re-renders during mass outages where hundreds of alerts fire
  simultaneously
- Replace global 'device:events' PubSub topic with org-scoped
  'device_events:org:{id}' topics across all broadcasters (device_poller_worker,
  sensor_change_detector, discovery) so LiveView processes only receive
  events for their tenant
- Update EventLogger GenServer to subscribe to per-org topics dynamically,
  with runtime subscription support for newly created orgs
- Add Organizations.list_organization_ids/0 for EventLogger bootstrap
- Increase default DB pool_size from 20 to 25 for production concurrent users

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-15 14:08:27 -05:00
..
agent_latency_evaluator.ex fix: cloud poller automatic rebalancing 2026-02-12 15:32:33 -06:00
alert_notification_worker.ex fix: align sidebar bottom border with footer border 2026-03-13 16:29:44 -05:00
backup_summary_worker.ex Add strict typespecs to all Oban worker perform/1 functions 2026-02-06 09:50:51 -06:00
backup_timeout_worker.ex Add strict typespecs to all Oban worker perform/1 functions 2026-02-06 09:50:51 -06:00
billing_sync_worker.ex stripe and email after signup 2026-03-06 10:07:27 -06:00
capacity_insight_worker.ex feat: add capacity insight worker, UI, and reporting views 2026-03-07 14:42:40 -06:00
check_executor_worker.ex Skip SNMP check execution in CheckExecutorWorker for agent-polled devices 2026-02-17 07:47:15 -06:00
check_worker.ex feat: add full-featured monitoring platform (HTTP/TCP/DNS checks) 2026-02-12 14:05:31 -06:00
cloud_latency_probe_worker.ex fix: cloud poller automatic rebalancing 2026-02-12 15:32:33 -06:00
cloudflare_ban_worker.ex Add 404-based brute force protection system 2026-02-10 16:31:48 -06:00
device_health_insight_worker.ex feat: command center dashboard with unified insights and contextual enrichment 2026-02-13 14:52:49 -06:00
device_monitor_worker.ex refactor: replace Task.start with Oban for alert notifications 2026-03-05 09:22:14 -06:00
device_poller_worker.ex perf: LiveView event batching & PubSub optimization (TOW-26) 2026-03-15 14:08:27 -05:00
discovery_worker.ex Reliability improvements: Task.Supervisor, discovery retries, polling visibility 2026-02-09 16:05:30 -06:00
escalation_check_worker.ex feat: add on-call schedules and escalation policies 2026-03-11 12:32:54 -05:00
expired_ban_cleanup_worker.ex Add 404-based brute force protection system 2026-02-10 16:31:48 -06:00
firmware_version_fetcher_worker.ex Add GeoIP import HTTP tests 2026-03-10 16:02:49 -05:00
gaiia_insight_worker.ex improve Gaiia integration UX 2026-03-12 13:04:17 -05:00
gaiia_sync_worker.ex add gaiia integration stages 1-2: sync engine and entity mapping UI 2026-02-13 10:31:32 -06:00
job_cleanup_task.ex Skip Phoenix poller/monitor scheduling when SNMP disabled 2026-02-17 07:12:15 -06:00
job_health_check_worker.ex Skip Phoenix poller/monitor scheduling when SNMP disabled 2026-02-17 07:12:15 -06:00
login_history_cleanup_worker.ex Add strict typespecs to all Oban worker perform/1 functions 2026-02-06 09:50:51 -06:00
mikrotik_backup_worker.ex Add strict typespecs to all Oban worker perform/1 functions 2026-02-06 09:50:51 -06:00
netbox_sync_worker.ex Add NetBox sync worker + improve Gaiia error messages 2026-02-14 17:11:38 -06:00
polling_offset.ex add oban pro 2026-01-26 17:07:42 -06:00
preseem_baseline_worker.ex add preseem insights schema, generation, and queries 2026-02-13 08:53:01 -06:00
preseem_sync_worker.ex stagger preseem sync across organizations 2026-02-13 10:52:32 -06:00
session_cleanup_worker.ex Add strict typespecs to all Oban worker perform/1 functions 2026-02-06 09:50:51 -06:00
sonar_sync_worker.ex ui: major redesign - NOC dashboard, consolidated nav, dense tables, flat alerts 2026-02-14 20:15:07 -06:00
splynx_sync_worker.ex ui: major redesign - NOC dashboard, consolidated nav, dense tables, flat alerts 2026-02-14 20:15:07 -06:00
stale_agent_worker.ex Add comprehensive typespecs to agent-related modules 2026-02-06 09:33:44 -06:00
stale_violation_cleanup_worker.ex Add 404-based brute force protection system 2026-02-10 16:31:48 -06:00
system_insight_worker.ex fix: improve insight auto-resolution and query performance 2026-03-05 10:11:52 -06:00
visp_sync_worker.ex ui: major redesign - NOC dashboard, consolidated nav, dense tables, flat alerts 2026-02-14 20:15:07 -06:00
weather_sync_worker.ex Prevent Oban polling/monitoring job stacking per device 2026-02-16 16:37:48 -06:00
welcome_email_worker.ex stripe and email after signup 2026-03-06 10:07:27 -06:00
wireless_insight_worker.ex feat: add comprehensive wireless client tracking and monitoring 2026-03-10 09:57:12 -05:00