Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion service/history/task/timer_active_task_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ Loop:
// check if it's possible that the timeout is due to activity task lost
if timerSequenceID.TimerType == execution.TimerTypeScheduleToStart {
domainName, err := t.shard.GetDomainCache().GetDomainName(mutableState.GetExecutionInfo().DomainID)
if err == nil && activityInfo.ScheduleToStartTimeout >= int32(t.config.ActivityMaxScheduleToStartTimeoutForRetry(domainName).Seconds()) {
if err == nil && activityInfo.ScheduleToStartTimeout > int32(t.config.ActivityMaxScheduleToStartTimeoutForRetry(domainName).Seconds()) {
// note that we ignore the race condition for the dynamic config value change here as it's only for metric and logging purpose.
// theoratically the check only applies to activities with retry policy
// however for activities without retry policy, we also want to check the potential task lost and emit the metric
Expand Down
Loading