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.
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDCIDX76e9796fa475: config: use already loaded swh config, if any, when instantiating an Indexer
Diff Detail
Diff Detail
- Repository
- rDCIDX Metadata indexer
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 4271 Build 5643: tox-on-jenkins Jenkins Build 5642: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DCIDX/job/tox/430/ for more details.
Comment Actions
I don't see any variable named CONFIG in swh.scheduler outside of swh/scheduler/celery_backend/config.py.
And I don't like the name SWH_CONFIG, it's not consistent with the name in swh.scheduler (CONFIG), and doesn't tell this config is for the scheduler.
Comment Actions
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/447/
See console output for more information: https://jenkins.softwareheritage.org/job/DCIDX/job/tox/447/console