Fixed critical bug in get_alerts() function that was causing XHR timeouts in the web interface: - Removed recursive ubus call at line 516 that called itself (ubus call luci.secubox get_alerts) causing infinite loop - Removed slow ubus calls to potentially non-existent modules - Count alerts as we build them instead of recursive query - Load UCI config once at start of function This fix resolves the "XHR request timed out" error that was preventing the dashboard and modules pages from loading. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| rpcd | ||