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

Caching metadata takes tiiiime #164

Open
rappen opened this issue Jul 19, 2024 · 2 comments
Open

Caching metadata takes tiiiime #164

rappen opened this issue Jul 19, 2024 · 2 comments

Comments

@rappen
Copy link

rappen commented Jul 19, 2024

Not sure where the annoying issue should be submitted, but I'll start here since this is where it is cached.

It takes 10-120 seconds (edited) every time I open FetchXML Builder, which uses the cached metadata by default settings.
It is tucked with this panel:

image

This is the code that calls it:

plugin.ConnectionDetail.MetadataCacheLoader.ConfigureAwait(false).GetAwaiter().GetResult()?.EntityMetadata;

Any clues?

Ping @MarkMpn

@MarkMpn
Copy link
Contributor

MarkMpn commented Jul 19, 2024

Any time into the minutes songs like something has gone wrong, especially 120 minutes! In my testing it would normally take more like 20 seconds to refresh the cache.

It should normally be possible to have this loading in the background rather than blocking the user while it’s loading - is it possible to get FXB to only try to use the cache once it has loaded rather than wait for it?

@rappen
Copy link
Author

rappen commented Jul 20, 2024

Oups, I meant seconds... 😬

It is possible by unchecking this:
image

By default, it is checked, since it's nice to have everything loaded when we start working.

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

2 participants