Addressing some Outlook sending issues due to API delay.
This commit is contained in:
@@ -31,8 +31,6 @@ namespace Wino.Core.Requests
|
||||
}
|
||||
}
|
||||
|
||||
public override bool DelayExecution => false;
|
||||
|
||||
public List<Guid> SynchronizationFolderIds => [Folder.Id];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,5 +42,7 @@ namespace Wino.Core.Requests
|
||||
{
|
||||
Items.ForEach(item => WeakReferenceMessenger.Default.Send(new MailAddedMessage(item.Item)));
|
||||
}
|
||||
|
||||
public override int ResynchronizationDelay => 3000;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,7 +45,8 @@ namespace Wino.Core.Requests
|
||||
}
|
||||
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public record BatchSendDraftRequestRequest(IEnumerable<IRequest> Items, SendDraftPreparationRequest Request) : BatchRequestBase(Items, MailSynchronizerOperation.Send)
|
||||
public record BatchSendDraftRequestRequest(IEnumerable<IRequest> Items,
|
||||
SendDraftPreparationRequest Request) : BatchRequestBase(Items, MailSynchronizerOperation.Send)
|
||||
{
|
||||
public override void ApplyUIChanges()
|
||||
{
|
||||
@@ -57,6 +58,7 @@ namespace Wino.Core.Requests
|
||||
Items.ForEach(item => WeakReferenceMessenger.Default.Send(new MailAddedMessage(item.Item)));
|
||||
}
|
||||
|
||||
public override bool DelayExecution => true;
|
||||
public override int ResynchronizationDelay => 10000;
|
||||
public override bool ExecuteSerialBatch => true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user