diff --git a/Tools/AutoClient/Modes/FolderStore/FileWorker.cs b/Tools/AutoClient/Modes/FolderStore/FileWorker.cs index 21c4918..1a818d0 100644 --- a/Tools/AutoClient/Modes/FolderStore/FileWorker.cs +++ b/Tools/AutoClient/Modes/FolderStore/FileWorker.cs @@ -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) { diff --git a/Tools/AutoClient/Modes/FolderStore/FolderWorkDispatcher.cs b/Tools/AutoClient/Modes/FolderStore/FolderWorkDispatcher.cs index d8c3be1..a0f064d 100644 --- a/Tools/AutoClient/Modes/FolderStore/FolderWorkDispatcher.cs +++ b/Tools/AutoClient/Modes/FolderStore/FolderWorkDispatcher.cs @@ -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(); }