sourcebot/packages/db
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
..
prisma parallelize repo indexing (#163) 2025-01-15 15:44:42 -08:00
src SQL Database (#157) 2025-01-14 13:37:31 -08:00
.env SQL Database (#157) 2025-01-14 13:37:31 -08:00
.gitignore SQL Database (#157) 2025-01-14 13:37:31 -08:00
package.json SQL Database (#157) 2025-01-14 13:37:31 -08:00
README.md SQL Database (#157) 2025-01-14 13:37:31 -08:00
tsconfig.json SQL Database (#157) 2025-01-14 13:37:31 -08:00

This package contains the database schema (prisma/schema.prisma), migrations (prisma/migrations) and the client library for interacting with the database. Before making edits to the schema, please read about prisma's migration model to get an idea of how migrations work.