andywer / andywer/threads.js

Recover from a spawn error?

Abierto
#420 3 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
3.5k
Forks
173
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

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.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.