Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pdoerner committed May 17, 2023
1 parent f983ed2 commit a3e6b03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/history/workflow/context.go
Expand Up @@ -912,7 +912,7 @@ func (c *ContextImpl) enforceSizeCheck(
}

// Returns true if the workflow is running and history size or event count should trigger a forced termination
// Prints a warning log message if history size or event count are over the error or warn limits
// Prints a log message if history size or history event count are over the error or warn limits
func (c *ContextImpl) maxHistorySizeExceeded() bool {
namespaceName := c.GetNamespace().String()
historySizeLimitWarn := c.config.HistorySizeLimitWarn(namespaceName)
Expand Down Expand Up @@ -948,7 +948,7 @@ func (c *ContextImpl) maxHistorySizeExceeded() bool {
}

// Returns true if the workflow is running and mutable state size should trigger a forced termination
// Prints a warning log message if mutable state size is over the error or warn limits
// Prints a log message if mutable state size is over the error or warn limits
func (c *ContextImpl) maxMutableStateSizeExceeded() bool {
mutableStateSizeLimitError := c.config.MutableStateSizeLimitError()
mutableStateSizeLimitWarn := c.config.MutableStateSizeLimitWarn()
Expand Down

0 comments on commit a3e6b03

Please sign in to comment.