From 8a893be55b5f732072c233bfdc0b6ba29d4ae2eb Mon Sep 17 00:00:00 2001 From: db0 Date: Sun, 24 Sep 2023 18:36:35 +0200 Subject: [PATCH] fix: FEDISEER_IGNORE_POLL_FAILS --- updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater.py b/updater.py index 581e59e..43e8db0 100644 --- a/updater.py +++ b/updater.py @@ -47,7 +47,7 @@ if __name__ == "__main__": for instance in database.get_all_instances(0,0): if instance.software == 'wildcard': continue - if instance.poll_failures >= int(os.getenv('FEDISEER_IGNORE_POLL_FAILS', 0)): + if instance.poll_failures > int(os.getenv('FEDISEER_IGNORE_POLL_FAILS', 0)): logger.debug(f"Skipped {instance.domain} due to too many poll fails.") continue futures.append(executor.submit(refresh_info, instance.domain))