mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
WaitAsync didn't like TimeSpan.MaxValue
This commit is contained in:
@@ -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}-challenge")) throw new Exception($"data-{pow}-challenge attribute missing");
|
||||||
if (!challengeData.Attributes.Contains($"data-{pow}-difficulty")) throw new Exception($"data-{pow}-difficulty 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
|
// ttrs has no patience value
|
||||||
if (challengeData.Attributes.Contains("data-sssg-patience"))
|
if (challengeData.Attributes.Contains("data-sssg-patience"))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user