Commit 9418affa authored by Ted Yu's avatar Ted Yu Committed by Ted Yu

add comment on rev history length limit

parent 9546fd54
...@@ -125,6 +125,7 @@ func (dc *DeploymentController) getAllReplicaSetsAndSyncRevision(d *apps.Deploym ...@@ -125,6 +125,7 @@ func (dc *DeploymentController) getAllReplicaSetsAndSyncRevision(d *apps.Deploym
} }
const ( const (
// limit revision history length to 100 element (~2000 chars)
maxRevHistoryLengthInChars = 2000 maxRevHistoryLengthInChars = 2000
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment