Do not get active domain in execution delete timer task
@@ -592,7 +592,7 @@ func (t *timerQueueProcessorBase) processDeleteHistoryEvent(task *persistence.Ti
}
clusterArchivalStatus := t.shard.GetService().GetClusterMetadata().ArchivalConfig().GetArchivalStatus()
- domainCacheEntry, err := t.historyService.getActiveDomainEntry(common.StringPtr(task.DomainID))
+ domainCacheEntry, err := t.historyService.shard.GetDomainCache().GetDomainByID(task.DomainID)
if err != nil {
return err
}
