Skip to content

Refactor logs to use html templates#1246

Open
wbxyz wants to merge 1 commit intogoogle:mainfrom
wbxyz:push-mzluuxprrzns
Open

Refactor logs to use html templates#1246
wbxyz wants to merge 1 commit intogoogle:mainfrom
wbxyz:push-mzluuxprrzns

Conversation

@wbxyz
Copy link
Copy Markdown
Member

@wbxyz wbxyz commented May 5, 2026

No description provided.

@wbxyz wbxyz force-pushed the push-mzluuxprrzns branch from 4959651 to 89ab721 Compare May 5, 2026 13:04
@wbxyz wbxyz requested a review from msuozzo May 5, 2026 14:28
return nil, err
}

if attrs.Size > 10*1024*1024 {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

constant? or Dep really?

scanner := bufio.NewScanner(reader)
lineNumber := 1
for scanner.Scan() {
lines = append(lines, LogLine{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oof... well the raw threshold is low enough that this should be fine, i suppose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants