Actions
Bug #21444
opengetting the list of directives that would apply to a pending node is painfully slow
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
the processDynGroup method take about 50seconds to process 460 group
real reason is that we pass the nodeId to the method, and it calls "check" for each of the group. And this method calls nodeInfoService.getPendingNodeInfos() to get all nodes infos, and this is slow because it does ldap query.
We should change the signature of this method to use limitToNodeInfos:Option[Seq[NodeInfo]] and prevent the 460 ldap query
Actions