From 096d7c6fb57f661dfedfac31b2426d9b7b1b5d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 16 Nov 2023 23:22:04 +0100 Subject: [PATCH] chg: clear old UUIDs found when archiving --- bin/archiver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/archiver.py b/bin/archiver.py index 22960d7b..d7c56f30 100755 --- a/bin/archiver.py +++ b/bin/archiver.py @@ -286,6 +286,7 @@ class Archiver(AbstractManager): # archive the capture. capture_path = Path(path) if not capture_path.exists(): + self.redis.hdel('lookup_dirs', uuid) if not self.redis.hexists('lookup_dirs_archived', uuid): self.logger.warning(f'Missing capture directory for {uuid}, unable to archive {capture_path}') continue