Stop scanning shader inputs when the warm-up time budget expires #7
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-25T15:26:23Z.
VICTORY_WARM_SECONDSalready stopped new translations inside a worker, but the directory walk kept reading subsequent files. Check the deadline before entering each root and before processing each entry. An in-progress read or translation can finish.I compiled the original and patched warm-up functions in an isolated Rust harness on Linux, with two empty input files in separate roots. File-open monitoring showed two opens before the fix with a zero-second budget, zero opens after it, and two opens with a 30-second budget. No game files or GPU were involved.