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

google: mark cache as ready after it got populated #175

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Oct 13, 2023

The googleImagesCache is currently not marked ready. This means while it is correctly build it is not used in subsequent calls to projectImages(). This commit set the cache to ready after it got populated.

The first commit fixes the issue, the second adds the test that shows the behavior. Happy to talk about the test more, it makes google a bit easier to test but maybe you prefer a different approach :)

The googleImagesCache is currently not marked `ready` AFAICT.
This means while it is correctly build it is not used in
subsequent calls to projectImages(). This commit set the
cache to ready after it got populated.
@mvo5 mvo5 marked this pull request as ready for review October 13, 2023 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant