Rename wait to get
This commit is contained in:
@ -7,8 +7,8 @@ namespace Hcs.WebApp.BackgroundServices.CampaignManagers
|
||||
public class ExportCommonRegistryElementsManager_15_7_0_1(
|
||||
IServiceScopeFactory scopeFactory,
|
||||
OperationExecutionState operationExecutionState,
|
||||
ResultWaitState resultWaitState,
|
||||
Campaign campaign) : ManagerBase(scopeFactory, operationExecutionState, resultWaitState, campaign)
|
||||
ResultGetState resultGetState,
|
||||
Campaign campaign) : ManagerBase(scopeFactory, operationExecutionState, resultGetState, campaign)
|
||||
{
|
||||
private enum Step
|
||||
{
|
||||
@ -97,14 +97,14 @@ namespace Hcs.WebApp.BackgroundServices.CampaignManagers
|
||||
{
|
||||
if (!string.IsNullOrEmpty(operation.MessageGuid))
|
||||
{
|
||||
resultWaitState.EnqueueOperation(operation);
|
||||
resultGetState.EnqueueOperation(operation);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private async Task DoResultWaitStepAsync()
|
||||
{
|
||||
if (resultWaitState.HasCampaignOperation(campaign.Id)) return;
|
||||
if (resultGetState.HasCampaignOperation(campaign.Id)) return;
|
||||
|
||||
DateTime endedAt = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user