Describe the bug
When making small modifications to a Graph Template on very large systems with tens of thousands of graph, the process can take a long time to complete in the orders of tens of minutes, which causes web server and proxy timeouts.
To Reproduce
Steps to reproduce the behavior:
-
Edit a Graph Template with 50k Graphs
-
Edit any Graph Item
-
Press Save
-
Go get a coffee
-
Beat the cat
-
Read War and Peace
-
Come back and find that the save never finished
Expected behavior
Cacti should save Templates in an efficient manner.