Additional batch option to add items to queue only

Created on 8 July 2023, over 1 year ago

Problem/Motivation

vde_drush:views-data-export command ended with "Fatal error: Allowed memory size" when there are a lot of data to export.

Steps to reproduce

Create views to export big amount of data.
In my case it was a commerce_order items over 400k in total.

Proposed resolution

Add new option "--add-only" for drush command which will only add items to queue.
Then developer can run
for i in {1..1000}; do drush queue-run vde_drush_queue --items-limit=10 ;done
and have all exported data in file without memory limits errors.

✨ Feature request
Status

Needs review

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine andriic

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024