From 24e864f8f501de5daec924d3095c1fc0e022c6d0 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sun, 8 Feb 2026 20:21:12 -0600 Subject: [PATCH] WaitAsync didn't like TimeSpan.MaxValue --- KfChatDotNetBot/Services/KiwiFlare.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Services/KiwiFlare.cs b/KfChatDotNetBot/Services/KiwiFlare.cs index 5cca9ad..460a9b9 100644 --- a/KfChatDotNetBot/Services/KiwiFlare.cs +++ b/KfChatDotNetBot/Services/KiwiFlare.cs @@ -52,7 +52,7 @@ public class KiwiFlare(string kfDomain, string? proxy = null, CancellationToken? if (!challengeData.Attributes.Contains($"data-{pow}-challenge")) throw new Exception($"data-{pow}-challenge attribute missing"); if (!challengeData.Attributes.Contains($"data-{pow}-difficulty")) throw new Exception($"data-{pow}-difficulty attribute missing"); - var patience = TimeSpan.MaxValue; + var patience = TimeSpan.FromMinutes(5); // ttrs has no patience value if (challengeData.Attributes.Contains("data-sssg-patience")) {