HomeSoftware Heritage

indexer.cli: Fix missing retries_left parameter

Description

indexer.cli: Fix missing retries_left parameter

According to the task schema, that parameter should not be null and defaults to
0. But current scheduler backend implementation expects a value nonetheless and
if it's null, that breaks the call.

This should fix [1]

[1]
https://jenkins.softwareheritage.org/job/DENV/job/tests/lastFailedBuild/artifact/swh-indexer.log

Details

Provenance
ardumontAuthored on Oct 26 2020, 12:26 PM
ardumontPushed on Oct 29 2020, 3:31 PM
Differential Revision
D4383: indexer.cli: Fix missing retries_left parameter
Parents
rDCIDXd910ad3ef2ea: Rename sql files according to new conventions
Branches
Unknown
Tags
Unknown
Build Status
Buildable 16724
Build 25792: test-and-buildJenkins console · Jenkins