You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works when there are no errors, and when there is an "expected" error in one of the threads, but when the error is "Timeout: Did not receive an init message from worker ...", calling terminate hangs. I have the workaround:
if (!err?.message?.startsWith('Timeout: Did not receive an init message from worker')) {
await pool.terminate(!!err);
}
which works, but it seems like an early exit inside terminate would be appropriate for a case like this. Thoughts?
The text was updated successfully, but these errors were encountered:
I have some code like:
It works when there are no errors, and when there is an "expected" error in one of the threads, but when the error is "Timeout: Did not receive an init message from worker ...", calling terminate hangs. I have the workaround:
which works, but it seems like an early exit inside terminate would be appropriate for a case like this. Thoughts?
The text was updated successfully, but these errors were encountered: