HomeSoftware Heritage

config: use already loaded swh config, if any, when instantiating an Indexer

Description

config: use already loaded swh config, if any, when instantiating an Indexer

with swh-scheduler >= 0.0.47 we have a swh.scheduler.CONFIG that holds the
current swh configuration. Using this prevent us from reloading the config
files on each task execution.