-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(storage/events): add upper bounds on queries used to select strategy
Since we already have a cost limit on the event queries there's no point in counting the exact number of matching events by the keys or range. It's sufficient to be able to count up to reaching a limit where the cost would be too much anyway. This avoids issues with queries using keys of which there are a few hundred million events in the database.
- Loading branch information
Showing
1 changed file
with
12 additions
and
5 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