andywer / andywer/threads.js

Recover from a spawn error?

Aperta
#420 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
3.5k
Fork
173
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm trying to build a high resiliency system. Once in a while we'll get a `Error: Timeout: Did not receive an init message from worker after 10000ms. Make sure the worker calls expose().` error. I'm wondering if there's a way to trap that error, and allow the thread pool to continue with one less thread?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.