aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Category.php
diff options
context:
space:
mode:
authorGravatar Kiblyn11 <4669951+Kiblyn11@users.noreply.github.com> 2021-02-17 21:50:25 +0100
committerGravatar GitHub <noreply@github.com> 2021-02-17 21:50:25 +0100
commit0e6ad01dbfc396bee63f2e100df75bcd6488ed16 (patch)
treec7119fd38bebd51cb6c5e005294792c37543ea98 /app/Models/Category.php
parent787e8fa463a2a9d24876aa1040d90e43ba122e34 (diff)
Fix: handle very big feed (#3416)
* fix: handle big xml files which cause out of memory exceptions by working with chunks in cleanMd5 function (because of preg_replace) and parse (because of xml_parse) * Review * Fixes in error handling (case of the last call to xml_parse, case of error during fopen, break in case of XML error...) * Takes advantage of the chunking for computing the cache hash * Larger chunks of 1MB Co-authored-by: e <bokes74743@tjuln.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/Models/Category.php')
0 files changed, 0 insertions, 0 deletions