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

[v2, windows] Support async request processing on AssetServer #2926

Merged
merged 3 commits into from
Sep 20, 2023

Conversation

stffabi
Copy link
Collaborator

@stffabi stffabi commented Sep 19, 2023

Fixes #2890

@cloudflare-pages
Copy link

cloudflare-pages bot commented Sep 19, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0d00d30
Status: ✅  Deploy successful!
Preview URL: https://1e7d2a3b.wails.pages.dev
Branch Preview URL: https://feature-assetserver-windows.wails.pages.dev

View logs

Copy link
Member

@leaanthony leaanthony left a comment

Choose a reason for hiding this comment

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

Thanks as always @stffabi 🙏 LGTM!

@stffabi stffabi force-pushed the feature/assetserver-windows-deferred branch from f1f2fd4 to 0d00d30 Compare September 20, 2023 13:10
@stffabi
Copy link
Collaborator Author

stffabi commented Sep 20, 2023

You're welcome and thanks for approving.

@stffabi stffabi merged commit d370f72 into master Sep 20, 2023
4 checks passed
@stffabi stffabi deleted the feature/assetserver-windows-deferred branch September 20, 2023 17:28
Comment on lines +23 to +24
- AssetServer requests are now processed asynchronously without blocking the main thread on Windows. Changed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2926)
- AssetServer requests are now processed concurrently by spawning a goroutine per request. Changed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/2926)
Copy link
Contributor

Choose a reason for hiding this comment

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

Duplicate record?
When fixing this please merge it with the other Changed section, got mixed with the devtools PR, don't know how it didn't get marked as conflict.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

PR #2940 is up to fix the duplicate changed section that came in with the devtools PR.

Copy link
Member

Choose a reason for hiding this comment

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

Merged. Git black magic bites again

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.

More efficient frontend image sending.
3 participants