wp-image-processing-queue icon indicating copy to clipboard operation
wp-image-processing-queue copied to clipboard

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

Open philbirnie opened this issue 7 years ago • 0 comments

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 avatar Oct 19 '18 17:10 philbirnie