1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

Load more pipeline log lines (500 => 5000) (#3212)

Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
runephilosof-karnovgroup 2024-01-22 08:13:22 +01:00 committed by GitHub
parent fc1c4d9b11
commit 05f24a5706
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -159,7 +159,7 @@ const ansiUp = ref(new AnsiUp());
ansiUp.value.use_classes = true;
const logBuffer = ref<LogLine[]>([]);
const maxLineCount = 500; // TODO: think about way to support lazy-loading more than last 300 logs (#776)
const maxLineCount = 5000; // TODO(2653): set back to 500 and implement lazy-loading support
function isSelected(line: LogLine): boolean {
return route.hash === `#L${line.number}`;