Update only entities changed since last cron run

Created on 11 March 2025, 4 months ago

Problem/Motivation

I have the case that quite a lot of channels with lots of entities in them should automatically get synchronized via the cron and also in a timely manner. The current implementation will always iterate through all entities of a channel to determine which entities need to be synchronized and this takes some time and also produces a significant load on the servers.

Proposed resolution

Since nodes record the time when they were last changed and this module also records the time of the last cron run, the query to get the content of a channel can be altered to get only those entities that were updated since the last cron run (i. e. changed > last cron run). If cron runs are performed often, but entities on the source system are not changed constantly (in my case, they get created, edited, eventually published and then do not change often if at all), this can increase the performance quite a bit, because the source system does not have to load all entities and the target system does not have to go through all those entities.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany lukas_w

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024