From cd63b5ded8d52449db17078a134774843963783f Mon Sep 17 00:00:00 2001 From: yubiuser Date: Fri, 25 Oct 2024 23:08:12 +0200 Subject: [PATCH] fix: limit default SQL log entries to 100 (#3346) Signed-off-by: yubiuser --- assets/components/LogViewer/LogAnalytics.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/LogViewer/LogAnalytics.vue b/assets/components/LogViewer/LogAnalytics.vue index 181b7bd7..60a44568 100644 --- a/assets/components/LogViewer/LogAnalytics.vue +++ b/assets/components/LogViewer/LogAnalytics.vue @@ -31,7 +31,7 @@ import { Container } from "@/models/Container"; import { type Table } from "@apache-arrow/esnext-esm"; const { container } = defineProps<{ container: Container }>(); -const query = ref("SELECT * FROM logs"); +const query = ref("SELECT * FROM logs LIMIT 100"); const error = ref(null); const debouncedQuery = debouncedRef(query, 500); const evaluating = ref(false);