Skip to content

Conversation

@cvxluo
Copy link
Contributor

@cvxluo cvxluo commented Jan 7, 2026

Refs SENTRY-4A8H

We're seeing timeouts when generating escalating forecasts on the postgres query. We previously decreased the iterator size from 10k to 5k in #104662, but this didn't improve error rates. I believe this is since the queries seem to start timing out in the ~thousands of groups queried, so stepping through by 5k didn't affect the timeouts at all. This decreases the iterator step size to 1k, which should result in smaller queries.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 7, 2026
@cvxluo cvxluo marked this pull request as ready for review January 7, 2026 00:18
@cvxluo cvxluo requested a review from a team as a code owner January 7, 2026 00:18
@cvxluo cvxluo merged commit 2525e71 into master Jan 7, 2026
66 checks passed
@cvxluo cvxluo deleted the cvxluo/bump-escalating-forecast-iterator branch January 7, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants