diff options
| author | 2021-02-17 21:50:25 +0100 | |
|---|---|---|
| committer | 2021-02-17 21:50:25 +0100 | |
| commit | 0e6ad01dbfc396bee63f2e100df75bcd6488ed16 (patch) | |
| tree | c7119fd38bebd51cb6c5e005294792c37543ea98 /app/Models/Entry.php | |
| parent | 787e8fa463a2a9d24876aa1040d90e43ba122e34 (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/Entry.php')
0 files changed, 0 insertions, 0 deletions
