stable
Clone or download
Read-only
request #10855 Translation files processing might lead to a php core dump
It seems that recent php version might lead to a core dump when there is heavy load + writing and including php: https://bugs.php.net/bug.php?id=52752 This rewrite the way langs are stored to avoid a include. This comes with a memory penalty of +2.5MB per request and +2.8ms. Change-Id: I81894ac7f9bbe2d44541ceea4efb53e28ac22871
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/language/BaseLanguage.class.php | +59 | −47 | Go to diff View file |
M | src/common/language/BaseLanguageFactory.class.php | +14 | −2 | Go to diff View file |
D | src/utils/generate_language_files.php | +0 | −39 | Go to diff View file |
M | src/www/account/index.php | +2 | −1 | Go to diff View file |
M | src/www/include/html.php | +3 | −1 | Go to diff View file |
M | tests/simpletest/common/language/BaseLanguageTest.php | +2 | −3 | Go to diff View file |