mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-24 06:34:09 +00:00
feat: add .gitignore for logs and refactor ServeSession to include path_roots in init_tree return
- Introduced a new .gitignore file to exclude log files from version control. - Modified the `init_tree` function in `ServeSession` to return `path_roots`, enhancing the function's utility. - Cleaned up commented-out code in `sourcemap.rs`, `patch_apply.rs`, and `tree.rs` for better readability and maintainability.
This commit is contained in:
parent
6325935557
commit
4ddc4a3e31
5 changed files with 36 additions and 74 deletions
|
|
@ -88,8 +88,6 @@ impl SourcemapCommand {
|
|||
filter_non_scripts
|
||||
};
|
||||
|
||||
// Pre-build a rayon threadpool with a low number of threads to avoid
|
||||
// dynamic creation overhead on systems with a high number of cpus.
|
||||
rayon::ThreadPoolBuilder::new()
|
||||
.num_threads(num_cpus::get().min(6))
|
||||
.build_global()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue