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

Portal showing stale asset data #896

Open
donaldgray opened this issue Aug 8, 2024 · 0 comments
Open

Portal showing stale asset data #896

donaldgray opened this issue Aug 8, 2024 · 0 comments
Labels
API https://dlcs-book.readthedocs.io/en/latest/ bug Something isn't working portal

Comments

@donaldgray
Copy link
Member

Issue

Portal can be slow to show updated assets. If ingesting an asset the Portal can be slow to show changes, resulting in the image being available via orchestrator but a Portal banner is shown:

This image is current being ingested! If this is taking longer than usual, try the re-ingest process

Width and Height are also slow to update.

Causes

Is this caching at Portal or API level? At what level (memory or http)?

If the latter, can we use the cache invalidation hooks introduced in #803 to resolve? This might not work because we need to know when Engine is complete - is there any way to do this? Alternatively, if the caching is in-memory should the ttl be reduced right down as it's an inexpensive request.

@donaldgray donaldgray added bug Something isn't working API https://dlcs-book.readthedocs.io/en/latest/ portal labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API https://dlcs-book.readthedocs.io/en/latest/ bug Something isn't working portal
Projects
None yet
Development

No branches or pull requests

1 participant