Skip to content

Resolve Elasticsearch templates once at startup #3197

Description

@portante

Each time the PbenchTemplates() is instantiated (for each Report() object in the cron jobs and once in the indexing code), the on-disk JSON templates are loaded and compared against the database.

We should change this so that there is a module method invoked at pbench-server start time which will perform that work once, update the database, and have the PbenchTemplates() object always pull the templates from the database.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions