Project

General

Profile

Actions

Patch #43619

closed

Optimize Issue#recalculate_attributes_for by merging date queries

Added by Go MAEDA 21 days ago. Updated 19 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
-
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
Actions

Also available in: Atom PDF