add comment on rev history length limit

This commit is contained in:
Ted Yu 2019-05-14 03:11:19 +08:00 committed by Ted Yu
parent 9546fd540e
commit 9418affa4d

View File

@ -125,6 +125,7 @@ func (dc *DeploymentController) getAllReplicaSetsAndSyncRevision(d *apps.Deploym
}
const (
// limit revision history length to 100 element (~2000 chars)
maxRevHistoryLengthInChars = 2000
)