Batch processing size
-
I would like to request that the batch size limit be an option rather than hard-coded. This is especially difficult with the fetch urls task. I’m suggesting that the code in
/simply-static/libraries/tasks/class-ss-fetch-urls-task.php
on line 26
$batch_size = 10;
be made into an option accessible via the advanced tab of the settings page. Sure, make it default to 10 for those that might be on shared hosting where processing times are limited. However, for those of us that use this on a dev server to push a static site out where we can set our own available resources, it would be really nice to have and what seems like a simple addition.
I can manually change it, but I will have to go in each time to do so when there is an update. I see several comments on the speed of the plugin and this would help that. I increased my batch size variable to 50 and it completed in a substantially shorter amount of time.
- The topic ‘Batch processing size’ is closed to new replies.