towerops/lib/towerops_web
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
..
channels add mobile app websocket channel and improve QR linking UX 2026-03-13 17:28:36 -05:00
components add mobile app websocket channel and improve QR linking UX 2026-03-13 17:28:36 -05:00
controllers fix: input validation, SSRF, API hardening, and cookie security 2026-03-14 14:48:59 -05:00
graphql add real-time GraphQL API with time-series queries and subscriptions 2026-03-12 10:24:39 -05:00
helpers feat: add status emoji to page titles 2026-03-06 14:45:02 -06:00
live perf: LiveView event batching & PubSub optimization (TOW-26) 2026-03-15 14:08:27 -05:00
plugs fix: input validation, SSRF, API hardening, and cookie security 2026-03-14 14:48:59 -05:00
changelog_parser.ex fix: resolve 500 errors on /activity and /changelog 2026-02-13 19:49:12 -06:00
endpoint.ex add mobile app websocket channel and improve QR linking UX 2026-03-13 17:28:36 -05:00
gettext.ex init 2025-12-21 11:10:43 -06:00
gettext_helpers.ex feat: migrate email templates to gettext (Phase 2 - Emails) 2026-02-02 09:48:30 -06:00
graphql_socket.ex add real-time GraphQL API with time-series queries and subscriptions 2026-03-12 10:24:39 -05:00
permissions.ex i18n: add Spanish locale with full translations, language selector, and locale hook 2026-02-14 17:44:01 -06:00
plug_exceptions.ex handle exceptions gracefully on api endpoints 2026-02-04 12:18:14 -06:00
remote_ip.ex perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
router.ex remove dedicated capacity page from nav and routing 2026-03-12 12:20:23 -05:00
scoped_resource.ex perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
telemetry.ex fix: add Oban config to dev.exs and replace Exq telemetry with Oban 2026-01-24 16:39:45 -06:00
telemetry_filter.ex fix: suppress health check logs and downgrade CI artifacts to v3 2026-03-05 15:54:47 -06:00
user_auth.ex feat: add alert count badge to notification bell 2026-03-12 14:06:18 -05:00