Closed renatonascalves closed 6 months ago
After a close look, decreasing the interval
to everybody might not be ideal here. Better to leave it to the implementer to decide if it makes sense.
Besides, the "issue" has more to do with the framework we are using, https://github.com/wp-cli/php-cli-tools, rather than something we are doing.
Description
If the dataset is small,
PHP_CLI_Progress_Bar
takes longer than actually fetching the posts and running therun
callback.I'm not sure yet why, but hopefully, the progress bar is as fast as possible. It does feel it is working too hard just to generate the progress bar, IMO.
Use Case
A CLI command run with a small dataset.