Skip to content
Snippets Groups Projects

Avoid loading all domains

Merged Florian Weber requested to merge issue/domain-3405191:3405191-avoid-loading-all into 2.0.x
1 unresolved thread

Its quite slow with a lot of different domains and aliases.

Its called on every request with an active aliases (called from DomainNegotiator).

Closes #3405191

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
153 153 */
154 154 public function create(array $values = []) {
155 155 $default = $this->loadDefaultId();
156 $domains = $this->loadMultiple();
156 $count = $this->getQuery()->accessCheck(FALSE)->count()->execute();
  • Ken Rickard added 2 commits

    added 2 commits

    • 9a2032f2 - 1 commit from branch project:2.0.x
    • c5f1a443 - Avoid loading all domains

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading