Flush Kanban logs a bit more efficiently

Created on 6 September 2024, 3 months ago

Problem/Motivation

Currently the code for flushing the logs isn't very efficient, since it loads all the entities into memory.

It should be more memory efficient, ideally using something like the Batch API to process a set of logs at a time.

Steps to reproduce

Attempt to flush a kanban log of thousands will likely result in the page crashing.

Proposed resolution

Use a more efficient API like the Batch API to flush the entities.

Remaining tasks

Use the Batch API to flush the data.

📌 Task
Status

Needs work

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024