Bulk update content getting timeout issue.
if lot of operation in hook_node_update, then it will chance to timeout issue.
Batch Implementation
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | WeightSelectorbatch.patch | 2.66 KB | j.lucky |
| #2 | WeightSelectorbatch.patch | 2.58 KB | j.lucky |
Issue fork weight-3164372
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
Comment #2
j.lucky commentedComment #3
j.lucky commentedUpdated Patch file
Comment #8
igoragatti commentedCreated 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.
Comment #9
igoragatti commentedI've rebased the PR to the latest code.