2
0
mirror of synced 2025-02-13 08:56:30 +00:00
This commit is contained in:
Ben 2024-11-26 16:19:54 +01:00
parent a3b9e7bf8d
commit d136345df4
No known key found for this signature in database
GPG Key ID: 0F16E812E736C24B

View File

@ -72,6 +72,10 @@ namespace AutoClient.Modes.FolderStore
Log($"Existing CID '{State.Cid}' was successfully found in the network.");
}
}
else
{
Log("File was not previously uploaded.");
}
if (string.IsNullOrEmpty(State.Cid))
{
@ -173,8 +177,6 @@ namespace AutoClient.Modes.FolderStore
if (!recent.Started.HasValue) recent.Started = now;
if (!recent.Finish.HasValue) recent.Finish = now;
}
Log($"Updated purchase information for PID '{recent.Pid}'.");
}
private async Task MakeNewPurchase()
@ -207,6 +209,7 @@ namespace AutoClient.Modes.FolderStore
var timeout = DateTime.UtcNow + TimeSpan.FromMinutes(5);
while (DateTime.UtcNow < timeout)
{
Thread.Sleep(5000);
await UpdatePurchase(newPurchase);
if (newPurchase.Submitted.HasValue)
{