transcend-io / penumbra

Encrypt/decrypt anything in the browser using streams on background threads.
https://penumbra-example.vercel.app/
Apache License 2.0
140 stars 18 forks source link

Improve Penumbra worker init reliability #233

Open eligrey opened 1 year ago

eligrey commented 1 year ago

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]

vercel[bot] commented 1 year ago

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)