Skip to content

Commit 9418aff

Browse files
tedyuyutedz
authored andcommitted
add comment on rev history length limit
1 parent 9546fd5 commit 9418aff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/controller/deployment/sync.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ func (dc *DeploymentController) getAllReplicaSetsAndSyncRevision(d *apps.Deploym
125125
}
126126

127127
const (
128+
// limit revision history length to 100 element (~2000 chars)
128129
maxRevHistoryLengthInChars = 2000
129130
)
130131

0 commit comments

Comments
 (0)