~sircmpwn/git.sr.ht#377: 
Limit Preview File Size

From the mailing list: https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3Ca2f0fcb3-0cdd-8360-4d49-82a19b9d02de%40ersei.net%3E

In git.sr.ht, it appears that when previewing a formatted text file that is very large (couple of megabytes), the page load hangs returns a 504 error.

I propose that syntax highlighting be disabled on large files (ie >500kb) or that the web ui refuses to show a preview instead.

Thanks, Ersei Saggi

Status
REPORTED
Submitter
~fd
Assigned to
No-one
Submitted
1 year, 6 months ago
Updated
1 year, 2 days ago
Labels
No labels applied.

~fd 1 year, 2 days ago

Register here or Log in to comment, or comment via email.