]> zoso.dev Git - libnemo.git/commit
Per typescript, navigator.hardwareConcurrency is never null, so lose the fallback...
authorChris Duncan <chris@zoso.dev>
Tue, 3 Dec 2024 23:23:36 +0000 (15:23 -0800)
committerChris Duncan <chris@zoso.dev>
Tue, 3 Dec 2024 23:23:36 +0000 (15:23 -0800)
commitd90c5675b9f061e3bfaaa7849c9330e1c2f4cf70
tree45fb2f0e9dcfe2619aff35f4b1dfd82bfe58bbc1
parentad75e152bee59642fd7f6807c7131d4314e85d46
Per typescript, navigator.hardwareConcurrency is never null, so lose the fallback to 1. Also limit to 80% cpu instead of almost maxing out.
src/lib/pool.ts