Project

General

Profile

Actions

Patch #43619

open

Optimize Issue#recalculate_attributes_for by merging date queries

Added by Go MAEDA about 9 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Performance
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The attached patch slightly improves performance in Issue#recalculate_attributes_for.

When the method recalculates start_date and due_date, two separate queries (MIN(start_date) and MAX(due_date)) are currently executed. This change merges them into a single query, reducing one database round-trip.


Files

merge-two-date-queries.patch (626 Bytes) merge-two-date-queries.patch Go MAEDA, 2025-12-22 05:10

No data to display

Actions

Also available in: Atom PDF