Cached locale strings are limited to 75 characters. This limit should be configurable.

Increasing this limit reduces db query count Sometimes by 25-30 queries for each page load

Issue is based on http://drupal.org/node/851308 for version 7

Comments

alexku’s picture

Here is a patch

alexku’s picture

Status: Active » Needs review

changing status

Status: Needs review » Needs work

The last submitted patch, locale-cache-string-length-limit-1104692.patch, failed testing.

alexku’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, locale-cache-string-length-limit-1104692.patch, failed testing.

alexku’s picture

This one should work with: patch -p0 -i

alexku’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, locale-cache-string-length-limit-1104692.patch, failed testing.

alexku’s picture

Status: Needs work » Needs review
StatusFileSize
new1.69 KB

Trying one more time ... sorry for this mess :)

While in root drupal directory I'm creating the patch using: git diff origin/6.x > ../name.patch

Both "git apply" and "patch -p1" apply the patch correctly

If test fails again, could someone please explain me what am I doing wrong? Thanks

alexku’s picture

needs review :)

Status: Needs review » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.