spawnSync blocks the event loop while waiting for ps and du, which stalls the SSE metrics stream and other requests. Running these concurrently with async spawn (and Promise.all for du) keeps the server responsive under load. |
||
|---|---|---|
| .. | ||
| cli | ||
| client | ||
| lib | ||
| pages | ||
| server | ||
| shared | ||
| tools | ||
| index.ts | ||