Project

General

Profile

Actions

Patch #43934

open

Optimize `Issue#visible_journals_with_index` preload behavior

Added by Go MAEDA about 15 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Performance

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

No data to display

Actions

Also available in: Atom PDF