Remove examples and references to getBatchSize()

Created on 30 June 2024, 5 months ago
Updated 1 July 2024, 5 months ago

Problem/Motivation

We curently have examples in our code and the interface requires new BatchOperation scripts to define getBatchSize()

The use of the batch size has no real impact other than chunking things in the log. It creates more noise than it solves and there is no example of needing/using it to an advantage. There is a small edge case I had in my mind to make it useful but it is really harder to explain that there is for any benefit of it.

I suggest that we

  1. comment out the getBatchSize() from the BatchScriptInterface.php,
  2. create an instance getBatchSize() in BatchOperations.php returning a value of 1
  3. comment out the display from the BatchOperations page.
  4. Remove it from all existing test and example files
  5. remove it from the Readme.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

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

Comments & Activities

Production build 0.71.5 2024