)
func (c *workflowSizeChecker) checkIfNumChildWorkflowsExceedsLimit() error {
workflow_size_checker.go
return c.checkCountConstraint(
len(c.mutableState.GetPendingChildExecutionInfos()),
c.numPendingChildExecutionsLimit,
metrics.TooManyPendingChildWorkflows.Name(),
PendingChildWorkflowExecutionsDescription,
)
}
func (c *workflowSizeChecker) checkIfNumPendingActivitiesExceedsLimit() error {