HomeSoftware Heritage

listers: Allow to override policy and priority for scheduled tasks

Description

listers: Allow to override policy and priority for scheduled tasks

Prior to this commit, the policy and priority were hard-coded.
The default values are now the old hard-coded values.

This will allow to develop a cli to trigger forges listing with oneshot policy
and some priority tasks. Thus ingesting those faster and without manual
interventation as we currently do.

Details

Provenance
ardumontAuthored on Aug 28 2019, 11:32 AM
ardumontPushed on Aug 28 2019, 4:33 PM
Differential Revision
D1919: listers: Open cli to allow a first listing pass on new forge instance
Parents
rDLS5727f15cf323: swh.lister.packagist
Branches
Unknown
Tags
Unknown
Build Status
Buildable 7498
Build 10719: test-and-buildJenkins