Skip to content

Commit 9b047cb

Browse files
Remove duplicated line (cadence-workflow#5328)
1 parent 47f83ed commit 9b047cb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

common/domain/handler.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -697,10 +697,6 @@ func (d *handlerImpl) UpdateIsolationGroups(
697697
configVersion := currentDomainConfig.ConfigVersion
698698
lastUpdatedTime := time.Unix(0, currentDomainConfig.LastUpdatedTime)
699699

700-
if lastUpdatedTime.Add(d.config.FailoverCoolDown(currentDomainConfig.Info.Name)).After(d.timeSource.Now()) {
701-
return errDomainUpdateTooFrequent
702-
}
703-
704700
// Check the failover cool down time
705701
if lastUpdatedTime.Add(d.config.FailoverCoolDown(currentDomainConfig.Info.Name)).After(d.timeSource.Now()) {
706702
return errDomainUpdateTooFrequent

0 commit comments

Comments
 (0)