Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 765caef

Browse filesBrowse files
committed
add comments
1 parent d0ab04b commit 765caef
Copy full SHA for 765caef

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Collapse file

‎util/src/main/java/io/kubernetes/client/informer/cache/DeltaFIFO.java‎

Copy file name to clipboardExpand all lines: util/src/main/java/io/kubernetes/client/informer/cache/DeltaFIFO.java
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,9 @@ private Deque<MutablePair<DeltaType, KubernetesObject>> combineDeltas(
445445
private MutablePair<DeltaType, KubernetesObject> isDuplicate(
446446
MutablePair<DeltaType, KubernetesObject> d1, MutablePair<DeltaType, KubernetesObject> d2) {
447447
MutablePair<DeltaType, KubernetesObject> deletionDelta = isDeletionDup(d1, d2);
448+
449+
// TODO: remove this after the cause of memory leakage is confirmed
450+
// Squashing deltas w/ the same resource version, note that is a temporary fix that eases memory intensity.
448451
if (deletionDelta != null) {
449452
return deletionDelta;
450453
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.