How can I distinguish between worker processes?
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 794
- Forks
- 68
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Hello. I would like to distinguish between the worker processes and run some code only in one process. Normally with node clusters you can do this by checking the cluster.isMaster property, but that does not work with naught because naught is the master.
Is there another way to distinguish and run some code only on 1 process per server while running under naught?
Thanks! Otherwise very pleased with naught.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.