Skip to content

[Web] Make emscriptenThreadPool and godotThreadPool values automatic #108832

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamscott
Copy link
Member

Warning

Needs testing. I had issues testing the fix on iOS and iPadOS, but I don't think it's related.

Instead of exposing emscriptenThreadPool and godotThreadPool in export settings, this PR makes it so that it uses navigator.hardwareConcurrency as a base, with minimum values.

Fixes #108484.

Note

The PR also makes the Clear persistent data button actually clear the service worker. Needed to test the fix on mobile platforms.

@adamscott
Copy link
Member Author

cc. @marcosc90

@adamscott adamscott force-pushed the autodetect-threadpool branch from b0aafec to a897b49 Compare July 21, 2025 14:50
Copy link
Member

@bruvzg bruvzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be working fine on macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Web] Editor fails to open any project
2 participants