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: limit results from requests_denormalized table #18

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

kasteph
Copy link
Contributor

@kasteph kasteph commented Nov 8, 2024

  • added a partial/covered index on the normalized_at column to speed up fetching rows yet to be normalized
  • limit result set to 1000 since it would be too many otherwise. this takes too long (longer than the normalization time interval), which leads to a backlog of rows to be normalized.

@guillaumemichel guillaumemichel merged commit 1c5f3ad into main Nov 8, 2024
2 checks passed
@guillaumemichel guillaumemichel deleted the fix/limit-normalization branch November 8, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants