HomeSoftware Heritage

recurrent_visits: Allow to set no origins scheduled backoff in config

Description

recurrent_visits: Allow to set no origins scheduled backoff in config

The send_visits_for_visit_type function uses a default schedule backoff
of 20 minutes where there is no origins to schedule for a given visit
type.

It exists use cases when we would like that schedule backoff to be
shorter in order to schedule listed origins for loading into the
archive more rapidly, typically in the docker environment.

So allow to set that backoff value through configuration.

Details

Provenance
anlambertAuthored on Sep 14 2022, 4:18 PM
anlambertPushed on Sep 15 2022, 1:55 PM
Differential Revision
D8475: recurrent_visits: Allow to set no origins scheduled backoff in config
Parents
rDSCH7cfaa986c22c: sql/Makefile: Fix swh-scheduler SQL file paths
Branches
Unknown
Tags
Unknown
References
tag: v1.2.2
Build Status
Buildable 31555
Build 49356: test-and-buildJenkins console · Jenkins