Hi,
I am trying to update a drupal7 's modules latest version.
Core minor update proceeded fine but weight_update_7202 is taking a while.
This hook update loops over a select query result of 3 node's fields.
My site has a large amount of nodes (50 000) so the looping process seems unfeasible,
I let it run during 4h and only 1500 nodes were treated.
Thanks in advance for your recommendations
Comments
Comment #1
nancydruPerhaps we should investigate using batching.
Comment #2
davisbenThis is already using batching. I'll do some testing to see if there is a way to speed things up a bit.
Comment #3
davisbenI'm not sure there is anything else we can do here. I tested upgrading 1.0 to 2.1 on 3 different machines and all 3 processed 5,000 nodes in under a minute.