Project

General

Profile

Actions

Bug #26511

closed

`foreman-rake foreman_tasks:cleanup ...` takes long time with too many tasks and dynflow plans in database

Added by Ivan Necas about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The nested SQL query introduced https://github.com/theforeman/foreman-tasks/pull/320 seems to take too
much time to calculate. A left join seems to work much nicer there.

Actions

Also available in: Atom PDF