Skip to content
Commit f68260b0 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Reduce memory usage in SysLogSerializationUpdate

Upgrade wizard SysLogSerializationUpdate loads all
to-update rows into an array to iterate and update
one-by-one afterwards.

This can hit PHP memory limits when many rows need
to be handled.

The patch fixes this by avoiding the load to array
and iterating single result rows directly.

Resolves: #102104
Releases: main, 12.4
Change-Id: I454f89a18bdfcf1400f05edf318e37c5ea213424
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81363


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent a579b4b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment