andywer / andywer/threads.js

Recover from a spawn error?

Open
#420 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
3.5k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.