Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Penumbra worker init reliability #233

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

eligrey
Copy link
Member

@eligrey eligrey commented Nov 4, 2022

This PR prevents getFreeWorker() from setting busy = true whenever no workers are available and also fixes setWorkerLocation() when called post-init to correctly re-init worker threads.

Related Issues

Public Changelog

[none]

Security Implications

[none]

This PR prevents `getFreeWorker()` from setting `busy = true` whenever no workers are available and also fixes setWorkerLocation() when called post-init to correctly re-init worker threads.
@eligrey eligrey requested a review from a team November 4, 2022 17:05
@vercel
Copy link

vercel bot commented Nov 4, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
penumbra-example ❌ Failed (Inspect) Nov 8, 2022 at 5:27AM (UTC)

src/workers.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants