-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
More async calls #3930
More async calls #3930
Conversation
Not cool,
Called to generate paths e.g through an urlHelper used in a view e.g to list all the blog posts. In 3.0 when using the endpoint system another kind of urlHelper using a linkGenerator will be used, but with the same async problem. I will try to find a way to overcome this. The problem is that we have a custom router for all autoroutes and we might have an autoroute for many content items, so we can't fully initialize this router once because we would have to get all content items to grab their |
So, i refactored the home and autoroute features to prevent some non async code executions.
|
Just tried to make the scripting engines async, but i reverted my changes because the |
Most of the remaining non async calls are
|
So, i made But |
@sebastienros nothing urgent for me but here my little roadmap for this week (unless the last point).
|
|
I like it like that. Merge. |
once the tests pass obviously |
Also I am very surprised that the types were not cached correctly (as singleton), that should improve perf a lot. |
Also you can remove the non async Permission provider. |
Okay thanks, will do but i want to redo some minimum tests. Also i was just removing the So knowing that right now the |
Only 2 uses the async version, so around 50 providers will return a
Here i reverted all the changes around the Note: currently the definitions are cached at the scope level but each time we build a type / part (using the definitions) it is cached at the tenant level. The final version, committed in the |
in progress ...