Worker.isMainThread Property
Priya only reaches for Worker.isMainThread Property when use all CPU cores has to stay correct in production box.
Worker.isMainThread Property order — meaning → cluster.fork or PM2 → one limit. Dumping ten features helps nobody.
Skip Worker.isMainThread Property and in-memory session without sticky shows up in production box.
Priya ships Worker.isMainThread Property in production box. That is the use case worth saying.
If use all CPU cores breaks under Worker.isMainThread Property, check in-memory session without sticky first.
After Worker.isMainThread Property, Priya should still remember in-memory session without sticky.
Close Worker.isMainThread Property with: “If I skip it, use all CPU cores goes wrong like this: in-memory session without sticky.”
For Worker.isMainThread Property: definition + production box + one failure.