diff --git a/extensions/Servers/Proxmox/Livewire/Firewall.php b/extensions/Servers/Proxmox/Livewire/Firewall.php index 9a6c9d3d4..5665d8459 100644 --- a/extensions/Servers/Proxmox/Livewire/Firewall.php +++ b/extensions/Servers/Proxmox/Livewire/Firewall.php @@ -1316,6 +1316,11 @@ class Firewall extends Component $this->firewallLogs = $this->parseFirewallLogs($allRawLogs); + // Only keep the most recent entries (limit to 500 for performance) + if (count($this->firewallLogs) > 500) { + $this->firewallLogs = array_slice($this->firewallLogs, 0, 500); + } + // Reset to page 1 when refreshing logs $this->currentPage = 1;