perf: change applet-hosts view default limit

This commit is contained in:
Eric
2025-09-12 17:32:33 +08:00
committed by Bryan
parent c40bc46520
commit 10da053a95

View File

@@ -30,6 +30,8 @@ class HostMixin:
('retrieve', 'terminal.view_applethost'), ('retrieve', 'terminal.view_applethost'),
) )
default_limit = None
def get_permissions(self): def get_permissions(self):
if self.kwargs.get('host') and settings.DEBUG: if self.kwargs.get('host') and settings.DEBUG:
return [RBACPermission()] return [RBACPermission()]