cleaner log

This commit is contained in:
benbierens 2024-11-27 11:12:12 +01:00
parent f2b84ebfd6
commit 23622245f0
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A
2 changed files with 6 additions and 3 deletions

View File

@ -215,11 +215,13 @@ namespace AutoClient.Modes.FolderStore
State.Purchases = State.Purchases.Concat([newPurchase]).ToArray();
State.EncodedCid = encodedCid.Id;
SaveState();
Log($"New purchase created. PID: '{purchaseId}'. Waiting for submit...");
Thread.Sleep(500);
onNewPurchase();
Log($"New purchase created. PID: '{purchaseId}'.");
Log("Got Encoded-CID: " + encodedCid);
Log("Waiting for submit...");
Thread.Sleep(500);
var timeout = DateTime.UtcNow + TimeSpan.FromMinutes(5);
while (DateTime.UtcNow < timeout)
{

View File

@ -35,6 +35,7 @@ namespace AutoClient.Modes.FolderStore
log.Log("");
log.Log("Max number of busy workers reached. Waiting until contracts are started before creating any more.");
log.Log("");
Thread.Sleep(10000);
ResetIndex();
}