Project

General

Profile

Actions

Feature #42589

closed

Optimize watchers list rendering by eager loading email addresses

Added by Go MAEDA about 1 month ago. Updated 25 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

When the "Use Gravatar user icons" setting is enabled, viewing an issue causes one query per watcher to load their email address. This patch reduces the number of database queries by eager loading email_address for the watcher users.


Files

Actions

Also available in: Atom PDF