Skip to content

Commit

Permalink
Fixing Issue #4482 - Faster Automation
Browse files Browse the repository at this point in the history
Graph Automation slowed by in-efficient index selection when creating Graphs
  • Loading branch information
TheWitness committed Nov 27, 2021
1 parent bfca170 commit 931eb90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Cacti CHANGELOG
-issue#4479: As a repair tool, the rebuild poller cache scripts lacks critical options to reduce runtimes
-issue#4480: Saving a Data Template can damage Data Sources if the Data Template is not constructed properly
-issue#4481: When using a Cacti Format File for a Report, the Reports still use Legacy Font Size and Alignment Attributes
-issue#4482: Graph Automation slowed by in-efficient index selection when creating Graphs

1.2.19
-security#4356: Further fixes for grave character security protection
Expand Down
2 changes: 1 addition & 1 deletion lib/api_automation_tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function getInputFields($templateId) {
ON did.data_input_field_id = dif.id
INNER JOIN (
SELECT id, data_input_id, data_template_id
FROM data_template_data
FROM data_template_data FORCE INDEX (local_data_id)
WHERE local_data_id = 0
) AS dtd
ON did.data_template_data_id = dtd.id
Expand Down

0 comments on commit 931eb90

Please sign in to comment.