[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

.net9 support #111

Open
Tewr opened this issue May 2, 2024 · 1 comment
Open

.net9 support #111

Tewr opened this issue May 2, 2024 · 1 comment

Comments

@Tewr
Copy link
Owner
Tewr commented May 2, 2024

Threads will not be supported in .net9 blazor wasm, so this library still fills a void in blazor. Any regressions in .net9 should be anticipated as opposed to previous releases where there was a significant delay due to the complexity of breaking changes.

@Tewr Tewr mentioned this issue Aug 24, 2024
@Tewr
Copy link
Owner Author
Tewr commented Sep 25, 2024

Initial tests fails on startup most of the time. The hotter /faster the startup is, the more likely it is to fail.
Error is very frequent but not constant, and occurs during download phase and behaves like a deadlock - no more downloads are resumed, and initialization fails.

By walking up the stack I have found some kind of parallel download mechanism.
A constant 'maxParallelDownloads' is defined here: https://github.com/dotnet/runtime/blob/release/9.0-rc1/src/mono/browser/runtime/loader/globals.ts#L94

initial tests show that if I change this value to 1 (loaderHelpers.maxParallelDownloads) during the load phase, things seems to work out fine, and the "deadlocky" situation does not appear.

Some additional testing is needed to find a good value for this constant, or see how the deadlocky situation can be avoided in the first place. may involve rewriting my bootloader.

@Tewr Tewr changed the title Early .net9 support .net9 support Sep 28, 2024
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

No branches or pull requests

1 participant