Configure Feature Setting BatchSize

In order to improve the performance for business-critical jobs you can limit the batch size by configuring a Feature Setting BatchSize. This can also help to avoid CPU Time Limit error messages. 

If you come across CPU errors related to one of the batches, it's recommended that you reduce the batch size to avoid any issues:

  • For example, if the batch size is set at 100, we suggest you decrease it to 50 to ensure a smooth and error-free process.

  • Similarly, if the batch size is 50, we recommend reducing it to 25 for optimal results without any errors.

Navigate to the App Launcher and search for Feature Settings. Open the Record with the Feature Setting Name BatchSize and the Feature Name GenericBatch

Use {"GenerateInvoice":1,"InvoiceAutomaticDelivery":100,"BillingRun":5,"PublisherPayout":{"PublisherPayoutCreditNote":15,"PublisherPayoutCollect":15},"CommitmentsCounting":50,"Subscription":200}

Where:

Make sure to use the exact same syntax as above while modifying the values:

 The Values are comma-separated, should start with a { and enclose the feature name with ". 

This feature-setting record is a generic record that can currently be used for the following features.

Pre-invoice Scheduled Batch Job

We have improved the Pre-Invoice Scheduled Batch Job by allowing customers to limit the media campaigns included in the batch. The customers can now select which media campaigns are needed to process. More details are here.