Reworked proxy checker threading, fixed the bug where it would stop halfway.

This commit is contained in:
ruri
2019-05-25 15:53:48 +02:00
parent 5b3d126736
commit ad44543e41
2 changed files with 134 additions and 80 deletions
+3
View File
@@ -88,8 +88,11 @@ namespace RuriLib
catch (OpenQA.Selenium.WebDriverTimeoutException)
{
data.Log(new LogEntry("Timeout on Page Load", Colors.Tomato));
if (BanOnTimeout)
{
data.Status = BotStatus.BAN;
}
}
data.Driver.Manage().Timeouts().PageLoad = TimeSpan.FromSeconds(data.GlobalSettings.Selenium.PageLoadTimeout);