fix(server): notify of reindex taking a while (#23033)

note
This commit is contained in:
Matthew Momjian
2025-10-17 20:15:45 -04:00
committed by GitHub
parent 0979528a05
commit 4836047e50

View File

@@ -231,7 +231,7 @@ export class DatabaseRepository {
}
private async reindexVectors(indexName: VectorIndex, { lists }: { lists?: number } = {}): Promise<void> {
this.logger.log(`Reindexing ${indexName}`);
this.logger.log(`Reindexing ${indexName} (This may take a while, do not restart)`);
const table = VECTOR_INDEX_TABLES[indexName];
const vectorExtension = await getVectorExtension(this.db);