Project

General

Profile

Actions

Patch #43934

closed

Optimize `Issue#visible_journals_with_index` preload to skip user email_address when Gravatar is disabled

Added by Go MAEDA 22 days ago. Updated 16 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:

Description

This patch adjusts Issue#visible_journals_with_index to preload journal associations more efficiently.
This reduces some queries when processing IssuesController#show.

  • Always preload updated_by to avoid extra queries when rendering edited journals.
  • Only preload user email addresses when Gravatar is enabled.

Files

Actions #1

Updated by Go MAEDA 20 days ago

  • Target version changed from Candidate for next major release to 7.0.0

Setting the target version to 7.0.0.

Actions #2

Updated by Go MAEDA 16 days ago

  • Subject changed from Optimize `Issue#visible_journals_with_index` preload behavior to Optimize `Issue#visible_journals_with_index` preload to skip user email_address when Gravatar is disabled
  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch in r24577.

Actions

Also available in: Atom PDF