Improve batch process operation

Created on 21 January 2021, almost 4 years ago
Updated 29 August 2023, over 1 year ago

Problem/Motivation

Importing a large csv file may fail by php timeout (before the batch progress bar appears).

Steps to reproduce

Try to import a csv file of 10000+ rows (ie user entity) and set php max_execution_time to 60s (for example)

Proposed resolution

Change the batch process to use a single operation that goes through each row instead of N "add" operations.

Remaining tasks

make / update tests

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France gval

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024