Skip to content

db: in-memory cache of default repos

Administrator requested to merge k/default-repos into master

Created by: keegancsmith

This is a sourcegraph.com specific optimization. We add an in-memory cache of the list of repos search on Sourcegraph.com when no repo filters are specified. Currently retrieving this list from the database takes 350ms. It is a very rarely changing value and is shared across users/requests.

Merge request reports

Loading