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 #1

Updated by Ivan Necas about 6 years ago

  • Subject changed from `foreman-rake foreman_tasks:cleanup ...` takes long time with too many tasks and dynflow plans in database to `foreman-rake foreman_tasks:cleanup ...` takes long time with too many tasks and dynflow plans in database
  • Status changed from New to Closed
  • Pull request https://github.com/theforeman/foreman-tasks/pull/406 added
Actions

Also available in: Atom PDF