Updating site checkers, disabling suspended sites (#1266)

* Fixing checks for broken sites and repairing the ones that were changed

* little tweaks

* little tweaks

---------

Co-authored-by: Weekrow <somewherelse@yandex.ru>
This commit is contained in:
weekend sorrow
2023-10-27 22:43:45 +03:00
committed by GitHub
parent 01121d7695
commit f1ea12d731
4 changed files with 78 additions and 44 deletions
+3
View File
@@ -156,6 +156,9 @@ class ProxiedAiohttpChecker(SimpleAiohttpChecker):
class AiodnsDomainResolver(CheckerBase):
if sys.platform == 'win32': # Temporary workaround for Windows
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
def __init__(self, *args, **kwargs):
loop = asyncio.get_event_loop()
self.logger = kwargs.get('logger', Mock())