-
-
Notifications
You must be signed in to change notification settings - Fork 436
When searching the tree, increase the time before querying for items #5342
Copy link
Copy link
Closed
Labels
bugUndesired behaviourUndesired behaviourenhancementGeneral tag for an enhancementGeneral tag for an enhancementporting requiredRequires porting to developRequires porting to developresolvedA fixed issueA fixed issue
Milestone
Description
Hi.
We are running a very large Cacti server. (Devices: over 1,000, Graphs: over 14,000)
OS: RockyLinux8.6
Cacti: 1.2.21
CPU: 12core
Memory: 32GB
It takes a very long time to search for a graph by entering a tree name or graph name from the Graph tab screen of the WebUI. (More than 100 seconds, I have confirmed that I have enough cpu and memory at this time).
However, if the device name is copied and pasted, it takes only a few seconds to complete the search.
I checked from Chrome's developer tools, and it looks like the search process is executed while typing with the following request.
graph_view.php?action=ajax_search&str=<input string>
I believe this is the cause.
Is there any way to disable the search while typing?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugUndesired behaviourUndesired behaviourenhancementGeneral tag for an enhancementGeneral tag for an enhancementporting requiredRequires porting to developRequires porting to developresolvedA fixed issueA fixed issue