504
emitOperationFailed(e.MetricsHandler, e.metricTagConfig(), op, namespaceName, workflowType, closeTime)
505
}
506
>
case enumsspb.NEXUS_OPERATION_STATE_TIMED_OUT:
executors.go
507
>
timeoutType := enumspb.TIMEOUT_TYPE_UNSPECIFIED
508
>
var belowMin *operationTimeoutBelowMinError
509
>
if errors.As(callErr, &belowMin) {
510
>
timeoutType = belowMin.timeoutType
511
>
}
512
>
return func() {
513
>
emitOperationTimedOut(e.MetricsHandler, e.metricTagConfig(), op, namespaceName, workflowType, timeoutType.String(), closeTime)
514
>
}
515
case enumsspb.NEXUS_OPERATION_STATE_STARTED:
516
if op.StartedTime == nil {