Bulk update content getting timeout issue.

if lot of operation in hook_node_update, then it will chance to timeout issue.

Batch Implementation

Issue fork weight-3164372

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

j.lucky created an issue. See original summary.

j.lucky’s picture

StatusFileSize
new2.58 KB
j.lucky’s picture

StatusFileSize
new2.66 KB

Updated Patch file

Status: Needs review » Needs work

The last submitted patch, 3: WeightSelectorbatch.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

Rishabh Vishwakarma made their first commit to this issue’s fork.

igoragatti made their first commit to this issue’s fork.

igoragatti’s picture

Status: Needs work » Needs review

Created merge request for this issue.

What I did:

- Created a config form to enable/disable batch operations.
- The batch operation executes if there is more than the minimum number of entitites (which can be controlled through the config form).
- If not minimum or disabled, then it will run as it did before.

igoragatti’s picture

I've rebased the PR to the latest code.