Problem/Motivation

In our project we have > 7.000 images without alt tags. The batch functionality is simply great, but the limit of 50 items per batch is much too low.

Increasing the limit to > 75 already leads to Status Code 500 responses from the server on AJAX requests, so setting that is not enough.

You also need to delay the AJAX requests a bit, so that they don't all hit the server at once.

I'm attaching a MR do solve that, while I'm not sure if it should ever be merged. So if you don't like it, it might help others in same situations.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

anybody’s picture

Status: Active » Needs review

Limit (and delay?) might be implemented as setting for the submodule eventually.

anybody’s picture

Title: Allow bulk-updating a lot more images at once » Allow bulk-updating a lot more images at once using delay

Works great for me. Even the loading indicator animation works nicely, so maybe it's really not that bad. Of course the value of 500 is totally discussable.

grevil’s picture

Status: Needs review » Reviewed & tested by the community

LGTM!

anybody’s picture

Status: Reviewed & tested by the community » Fixed

Merged as this fixes a real-world issue.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.