This commit is contained in:
NoLogicAlan committed 2026-05-03 16:32:53 +03:00
1 parent d23c8e51a4
commit 25788ba704
1 file changed
-4
-4
View File
@@ -1457,10 +1457,6 @@ export default class Player extends EventEmitter {
// Worker Management // Worker Management
// ═══════════════════════════════════════════════════════════════════════════ // ═══════════════════════════════════════════════════════════════════════════
// ═══════════════════════════════════════════════════════════════════════════
// Worker Management
// ═══════════════════════════════════════════════════════════════════════════
// Per-player semaphore: at most 3 concurrent worker threads per player. // Per-player semaphore: at most 3 concurrent worker threads per player.
// Without this, a user spamming play or search spawns an unlimited number of // Without this, a user spamming play or search spawns an unlimited number of
// OS threads (visible as 40+ threads in btop), each holding ~8-16MB stack + V8 heap. // OS threads (visible as 40+ threads in btop), each holding ~8-16MB stack + V8 heap.