pub const RENDER_PERMITS: usize = 2;Expand description
How many stored bodies may be in the sanitizer at once, process-wide.
Normal content never contends for these: a real clean takes microseconds
to a few milliseconds. The limit exists for the pathological row (~37 s
for 2 MiB of nested <div>s), which can occupy at most one permit per
page view of it, and so at most this many blocking-pool threads and CPU
cores in total. One would let a single slow row stall every other uncached
view for its whole duration; two keeps one lane open past one slow row,
which is the most this path should ever spend.