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

Create job to recycle dashboards every night #935

Closed
mattyweb opened this issue Feb 9, 2021 · 2 comments · Fixed by #1023
Closed

Create job to recycle dashboards every night #935

mattyweb opened this issue Feb 9, 2021 · 2 comments · Fixed by #1023
Assignees
Labels
Complexity: Missing This ticket needs a complexity (good first issue, small, medium, or large) Feature: Missing Milestone: Missing Role: Backend Related to API or other server-side work Role: DevOps infrastructure, CI or related work size: 3pt Can be done in 13-18 hours

Comments

@mattyweb
Copy link
Collaborator

mattyweb commented Feb 9, 2021

We need to create some kind of job to recycle dash app every night (since data is cached and needs to be re-pulled).

This could either be scheduled or more likely could be called from the prefect task.

@mattyweb mattyweb added the size: 3pt Can be done in 13-18 hours label Feb 9, 2021
@mattyweb mattyweb self-assigned this Feb 9, 2021
@mattyweb mattyweb added this to the Initial v2 Launch milestone Feb 9, 2021
@mattyweb
Copy link
Collaborator Author

A call to https://dash-reporting.tofn9kh9mlm7g.us-east-1.cs.amazonlightsail.com/reload will restart the reporting service and reload the dashboards with new data.

@mattyweb
Copy link
Collaborator Author

Call works. Should probably be scheduled in prefect task.

@mattyweb mattyweb added Role: Backend Related to API or other server-side work Role: Data Science Data management, loading, or analysis labels Feb 17, 2021
mattyweb added a commit that referenced this issue Mar 12, 2021
@captain-nimo captain-nimo added Role: DevOps infrastructure, CI or related work and removed Role: Data Science Data management, loading, or analysis labels Mar 19, 2021
mattyweb added a commit that referenced this issue Mar 22, 2021
Fixes #1028
- Add pyppeteer to make the call to the report server
- Uses chromium which can run JS
mattyweb added a commit that referenced this issue Mar 22, 2021
@ExperimentsInHonesty ExperimentsInHonesty moved this to Done (without merge) in P: 311: Project Board Jun 7, 2024
@cottonchristopher cottonchristopher added the Complexity: Missing This ticket needs a complexity (good first issue, small, medium, or large) label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Missing This ticket needs a complexity (good first issue, small, medium, or large) Feature: Missing Milestone: Missing Role: Backend Related to API or other server-side work Role: DevOps infrastructure, CI or related work size: 3pt Can be done in 13-18 hours
Projects
Status: Done (without merge)
Development

Successfully merging a pull request may close this issue.

4 participants