From 62b5f565428acc7646177188c5a07271d53eb1f9 Mon Sep 17 00:00:00 2001 From: Frisk Date: Thu, 29 Aug 2024 22:29:31 +0200 Subject: [PATCH] Hot-fix for now --- src/domain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain.py b/src/domain.py index 8d38cbb..7dfe461 100644 --- a/src/domain.py +++ b/src/domain.py @@ -200,8 +200,8 @@ class Domain: async def regular_scheduler(self): try: while True: - await self.run_wiki_scan(next(iter(self.wikis.values())), "regular check") await asyncio.sleep(self.calculate_sleep_time(len(self))) # To make sure that we don't spam domains with one wiki every second we calculate a sane timeout for domains with few wikis + await self.run_wiki_scan(next(iter(self.wikis.values())), "regular check") except Exception as e: if command_line_args.debug: logger.exception("Regular scheduler task for domain {} failed!".format(self.name))