Xuguang Mei

Results 5 comments of Xuguang Mei

> Worker threads in general have a `ready` event, yes. In Piscina, `runTask()` will not attempt to dispatch tasks to workers until after the worker signal they are ready. I...

When using on a server, the first few response will be too slow. this happens especially when we have a big service, and the server restarts a lot per day...

> * 编译检查:GitHub workflows 新增 matrix 在所有 LTS 上跑 e2e 测试 done

> You can see that the `gc` function is present. This means that the disallowed flags are _not_ ignored (and not even "ignored but still used to populate the `process.execArgv`...

If `execArgv` is not specified, all parent's args *indeed* are used: https://github.com/nodejs/node/blob/4cb2a4786711e304314313aabb24ed2dc46134ef/src/node_worker.cc#L551-L553 https://github.com/nodejs/node/blob/4cb2a4786711e304314313aabb24ed2dc46134ef/src/node_worker.cc#L308-L315 But since these Per-Process options and V8 flags are from parents, I guess it is ok? https://github.com/nodejs/node/pull/25467