tailwindcss/oxide/crates/core/src
Jordan Pittman aaca7c4c4c
Batch reading content files to prevent too many open files error (#12079)
* Refactor

* Refactor

* Batch content file reads in Node into groups of 500

We shouldn’t need to do this for our Rust code because it utilizes Rayon’s default thread pool for parallelism. This threadpool has roughly the number of cores as the number of available threads except when overridden. This generally is much, much lower than 500 and can be explicitly overridden via an env var to work around potential issues with open file descriptors if anyone ever runs into that.

* Fix sequential/parallel flip

* Update changelog
2023-09-25 12:18:11 -04:00
..
fixtures [Oxide] Automatic content detection (#11173) 2023-05-12 18:49:35 +02:00
candidate.rs Bump Rust version to 1.70.0 (#11344) 2023-06-02 15:24:40 +02:00
cursor.rs Ensure the oxide parser has feature parity with the stable RegEx parser (#11389) 2023-06-07 17:44:35 +02:00
fast_skip.rs Ensure the oxide parser has feature parity with the stable RegEx parser (#11389) 2023-06-07 17:44:35 +02:00
glob.rs Bump Rust version to 1.70.0 (#11344) 2023-06-02 15:24:40 +02:00
lib.rs Batch reading content files to prevent too many open files error (#12079) 2023-09-25 12:18:11 -04:00
location.rs Oxide (#10252) 2023-01-13 12:22:00 +01:00
modifier.rs Oxide (#10252) 2023-01-13 12:22:00 +01:00
parser.rs Fix typos (#11805) 2023-08-12 08:17:41 -04:00
utility.rs Oxide (#10252) 2023-01-13 12:22:00 +01:00
variant.rs Oxide (#10252) 2023-01-13 12:22:00 +01:00