Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Add support for --batch-size=0 to CLI commands #152

Merged
merged 10 commits into from
Feb 13, 2020

Conversation

stevegrunwell
Copy link
Contributor

For both migrate and backfill, passing --batch-size=0 should disable batching. For smaller sites, batching may be unnecessary and seems to be the cause of some issues with migration.

This PR builds upon and replaces #140.

@stevegrunwell stevegrunwell added enhancement cli migration Issues related to the WP-CLI migration script labels Jan 28, 2020
@stevegrunwell stevegrunwell added this to the Version 1.0.0 milestone Jan 28, 2020
@stevegrunwell stevegrunwell added this to Review in Version 1.0.0 via automation Jan 28, 2020
@stevegrunwell stevegrunwell mentioned this pull request Jan 28, 2020
@stevegrunwell
Copy link
Contributor Author

@bswatson It looks like the WooCommerce team is actively preparing 3.9.2, so some core tests are currently failing on WooCommerce 3.9 releases for this PR but those are unrelated to our work. I don't know that it should block this moving forward into develop.

@bswatson
Copy link
Contributor

@stevegrunwell As long as they aren't specific to changes we've made, then I would say we're ok to move it forward.

@stevegrunwell stevegrunwell merged commit cf1097b into develop Feb 13, 2020
Version 1.0.0 automation moved this from Review to Done Feb 13, 2020
@stevegrunwell stevegrunwell deleted the pr/batch-equal-zero branch February 13, 2020 16:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cli migration Issues related to the WP-CLI migration script enhancement
Projects
Version 1.0.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants