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

Multiple Queue Runs Required to generate all image sizes for the same attachment #17

Open
philbirnie opened this issue Oct 19, 2018 · 0 comments

Comments

@philbirnie
Copy link

For example, if I have:

ipq_get_theme_image_url(SOME_IMAGE_ATTCH_ID, [ 1280, 630, true ] )

followed by:

ipq_get_theme_image_url(SOME_IMAGE_ATTCH_ID, [ 2560, 1260, true ] )

The first call will be successfully added as a job; however the second one will not process until the first one is cleared (thereby unlocking the attachment's post)

Suggestion

Ideally there would only be one lock per size, per attachment not just per attachment

@philbirnie philbirnie changed the title Multiple Queue Runs Required to generate all image sizes for the same post Multiple Queue Runs Required to generate all image sizes for the same attachment Oct 19, 2018
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

1 participant