From a60e0bbc413957f41a7e233e037bd465688932ba Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" Date: Mon, 4 Nov 2019 15:59:30 +0100 Subject: [PATCH] lister.debian: Fix task creation By adding a `retries_left` --- swh/lister/debian/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swh/lister/debian/models.py b/swh/lister/debian/models.py index c7a394d..6675cd2 100644 --- a/swh/lister/debian/models.py +++ b/swh/lister/debian/models.py @@ -199,7 +199,8 @@ class DistributionSnapshot(SQLBase): 'date': self.date.isoformat(), 'packages': package_versions, }, - } + }, + 'retries_left': 3, } def get_packages(self):