From b60c70a3c50f59ea29f23b7bc532ea8dc4901f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Tue, 10 Apr 2018 01:54:34 +0200 Subject: [PATCH] fix: Mark ranking as done when db not ready --- bgpranking/ranking.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bgpranking/ranking.py b/bgpranking/ranking.py index 220d3ef..e964e39 100644 --- a/bgpranking/ranking.py +++ b/bgpranking/ranking.py @@ -30,6 +30,7 @@ class Ranking(): v6_last = self.asn_meta.get('v6|last') if not v4_last or not v6_last: '''Failsafe if asn_meta has not been populated yet''' + unset_running(self.__class__.__name__) return for source in self.storage.smembers(f'{today}|sources'): self.logger.info(f'{today} - Ranking source: {source}')