Improve AlertBanner fetching #285

Closed
opened 2026-02-05 17:23:20 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @Boy132 on GitHub (Mar 24, 2025).

Originally assigned to: @Boy132 on GitHub.

Currently the AlertBannerContainer is a livewire component that runs pullFromSessions every second. This causes a lot of unnecessary requests.
Ideally this should be switched to an event based system.

61cbe5465f/resources/views/livewire/alerts/alert-banner-container.blade.php (L1-L5)
61cbe5465f/app/Livewire/AlertBannerContainer.php (L19-L25)

Originally created by @Boy132 on GitHub (Mar 24, 2025). Originally assigned to: @Boy132 on GitHub. Currently the `AlertBannerContainer` is a livewire component that runs `pullFromSessions` every second. This causes a lot of unnecessary requests. Ideally this should be switched to an event based system. https://github.com/pelican-dev/panel/blob/61cbe5465f6a18959ec28ef023a86f3f94233287/resources/views/livewire/alerts/alert-banner-container.blade.php#L1-L5 https://github.com/pelican-dev/panel/blob/61cbe5465f6a18959ec28ef023a86f3f94233287/app/Livewire/AlertBannerContainer.php#L19-L25
OVERLORD added the 🟡 medium label 2026-02-05 17:23:20 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#285