Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve Elasticsearch templates once at startup #3197

Open
portante opened this issue Jan 20, 2023 · 0 comments
Open

Resolve Elasticsearch templates once at startup #3197

portante opened this issue Jan 20, 2023 · 0 comments

Comments

@portante
Copy link
Member

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.

@portante portante added this to the v0.72 milestone Jan 20, 2023
@portante portante self-assigned this Jan 20, 2023
@portante portante modified the milestones: v0.72, v0.73 Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Do
Development

No branches or pull requests

1 participant