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

fix: stats not updating; 'latest' compiled stats not used #424

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

tazlin
Copy link
Member

@tazlin tazlin commented Jun 14, 2024

  • Running UPDATE cron.job SET nodename = ''; allows pg_cron to operate as expected. Without it, there is connection problem when the scheduled job attempts to run.
  • created is a now appropriately accounted for and only the latest compiled stats for the compiled 'models stats' are returned in the relevant queries.

@tazlin
Copy link
Member Author

tazlin commented Jun 14, 2024

@db0 Time is running short for me tonight. I will test this in dev when I get the chance and I'll tag you on the merge when it is ready to deploy. A temporary fix is already in place for the minute-by-minute stats, and I've manually updated the models stats.

@tazlin tazlin added the allow-ci A PR with this label will run through CI. label Jun 14, 2024
@tazlin tazlin force-pushed the post-deploy-stats-fixes branch 2 times, most recently from 5de13e2 to 008dea9 Compare June 23, 2024 13:44
@tazlin tazlin marked this pull request as ready for review June 24, 2024 15:54
@tazlin tazlin merged commit 6695fe5 into main Jun 24, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
allow-ci A PR with this label will run through CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant