Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Call to variable_set() in domain_conf_set_default_language() causes variables table cache to be wiped on every page load. When the site is under load this can lead to a significant performance hit.
Comments
Comment #1
a.thornton7922 CreditAttribution: a.thornton7922 commentedComment #2
agentrickardAnd this is a painful workaraound for a nasty issue.
Please suggest an alternative.
Comment #3
agentrickardDuplicates #1865552: Domain Conf: set 'language_default' variable only if it's changed in order to persist variables cache., which has a patch.