sourcebot/packages/backend/src
Michael Sukkarieh 7029aa70c1
parallelize repo indexing (#163)
* hacked together a example of using zoekt grpc api

* provide tenant id to zoekt git indexer

* update zoekt version to point to multitenant branch

* pipe tenant id through header to zoekt

* remove incorrect submodule reference and settings typo

* update zoekt commit

* remove unused yarn script

* remove unused grpc client in web server

* remove unneeded deps and improve tenant id log

* pass tenant id when creating repo in db

* add mt yarn script

* add pol of bullmq into backend

* add better error handling and concurrency setting

* spin up redis instance in dockerfile

* cleanup transaction logic when adding repos to index queue

* add NEW index status fetch condition

* move bullmq deps to backend

---------

Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-01-15 15:44:42 -08:00
..
schemas Add tenant ID concept into web app and backend (#160) 2025-01-14 16:46:36 -08:00
config.ts Add tenant ID concept into web app and backend (#160) 2025-01-14 16:46:36 -08:00
constants.ts parallelize repo indexing (#163) 2025-01-15 15:44:42 -08:00
environment.ts Pass PostHog key at build time (#92) 2024-11-25 21:04:52 -08:00
gerrit.ts Graceful error handling when calling code host apis (#142) 2024-12-18 19:21:21 -08:00
git.ts SQL Database (#157) 2025-01-14 13:37:31 -08:00
gitea.ts Graceful error handling when calling code host apis (#142) 2024-12-18 19:21:21 -08:00
github.test.ts SQL Database (#157) 2025-01-14 13:37:31 -08:00
github.ts SQL Database (#157) 2025-01-14 13:37:31 -08:00
gitlab.test.ts SQL Database (#157) 2025-01-14 13:37:31 -08:00
gitlab.ts SQL Database (#157) 2025-01-14 13:37:31 -08:00
index.ts SQL Database (#157) 2025-01-14 13:37:31 -08:00
local.ts Local directory support (#56) 2024-11-01 10:51:14 -07:00
logger.ts Graceful error handling when calling code host apis (#142) 2024-12-18 19:21:21 -08:00
main.ts parallelize repo indexing (#163) 2025-01-15 15:44:42 -08:00
posthog.ts Pass PostHog key at build time (#92) 2024-11-25 21:04:52 -08:00
posthogEvents.ts Graceful error handling when calling code host apis (#142) 2024-12-18 19:21:21 -08:00
types.ts parallelize repo indexing (#163) 2025-01-15 15:44:42 -08:00
utils.test.ts Add topics and exclude.topics to GitHub & GitLab config (#121) 2024-12-11 14:17:57 -08:00
utils.ts SQL Database (#157) 2025-01-14 13:37:31 -08:00
zoekt.ts Add tenant ID concept into web app and backend (#160) 2025-01-14 16:46:36 -08:00