mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Reworked proxy checker threading, fixed the bug where it would stop halfway.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user