-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #15675: Leak in Cache of Node Compliance and NodeInfo and perfs improvement #2648
Changes from 14 commits
3af575c
e6aeb1a
f80eee0
32ecee9
b5e4710
9b35e71
9598aaa
38611b3
b530809
f70ce20
3ed9ec0
87c09cf
78cdb29
74e664f
312da22
1f92658
16eafe2
18af296
c56c638
9bce1c0
9e2c74e
e916e3e
962c7a0
78eab1e
36b0eea
e3001fa
535e32e
2001015
97c9c0b
fbfcc9c
355fbeb
9176763
7fe1bc6
a0c1757
5a9d3ea
6225312
e680f67
33f4ca6
96ceafb
a93b67e
236a035
9ff671a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -357,7 +357,7 @@ final case class Policy( | |
// == .toList (keep order) ==> List[List[Variable]] | ||
// == flatten (keep order) ==> List[Variable] | ||
val expandedVars = Policy.mergeVars(policyVars.map( _.expandedVars.values).toList.flatten) | ||
val originalVars = Policy.mergeVars(policyVars.map( _.originalVars.values).toList.flatten) | ||
//val originalVars = Policy.mergeVars(policyVars.map( _.originalVars.values).toList.flatten) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one seems to have a lot of impact vs but we need to validate as there is a lot of variability in ruleval (from 748 487 288 to 2 123 635 544) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nodeconfig is stable at about 2 668 075 048 with this line vs 3 474 356 896 without this line |
||
val trackerVariable = policyVars.head.trackerVariable.spec.cloneSetMultivalued.toVariable(policyVars.map(_.trackerVariable.values).toList.flatten) | ||
} | ||
|
||
|
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm really tempted to make a def out of this one, as it is used only in two different place