Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Batch requests to snuba for TSDB queries (#14379)
Some accounts are not getting their weekly reports. This is cause when the report generation is scheduled, sentry makes a call to snuba with all the new issue IDs and reopened issue IDs. Snuba has a max query size of 500 kB (i.e. the SQL cannot be more than 500 kB). The max query size is not a problem of most cases but does become a problem for larger organizations who open a lot of issues in one week. [Here's the sentry error](https://sentry.io/organizations/sentry/issues/871693042/).
- Loading branch information
Manu
committed
Aug 17, 2019
1 parent
dfafa26
commit 5c03215
Showing
2 changed files
with
55 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters