knotserver, knotmirror: fix language detection accuracy and timeouts

did:plc:3hv3pvzhalkhjnc3g7wfmnvb wants to merge
did:plc:3hv3pvzhalkhjnc3g7wfmnvb opened 10d ago
- Increases language analysis HTTP timeouts from 1s to 5s (and 10s for post-receive hooks) to prevent context cancellation on larger repositories. - Implements a 10,000 file cap in AnalyzeLanguages to prevent I/O starvation on massive monorepos. - Excludes enry.Unknown files from language calculations to prevent huge asset files (like Godot .tscn/.tres) from completely washing out the true code languages. Signed-off-by: atixnotfound.tngl.sh <atsharma623@gmail.com>

Comments (0)

No comments yet.

cospan · schematic version control on atproto built on AT Protocol