-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(quick): cache entire project directory request
The projects don't change often, so we should be able to cache them for a while. Additionally, every hour we will regenerate their cached values (take ~7m right now). So the quick fix is two-fold: - cache the entire result and keep for an hour - regenerate per project cache every hour Once the page cache expires, queries should take ~10-20 seconds, but only once until the next hour. #4725: /rest/v1/project_directory performance
- Loading branch information
1 parent
151cae5
commit 6a315de
Showing
2 changed files
with
6 additions
and
2 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