"lock" notes that are having their embeddings created

This commit is contained in:
perf3ct
2025-03-16 20:36:47 +00:00
parent 781a2506f0
commit d2072c2a6f
6 changed files with 160 additions and 76 deletions

View File

@@ -159,7 +159,8 @@ CREATE TABLE IF NOT EXISTS "embedding_queue" (
"attempts" INTEGER NOT NULL DEFAULT 0,
"lastAttempt" TEXT NULL,
"error" TEXT NULL,
"failed" INTEGER NOT NULL DEFAULT 0
"failed" INTEGER NOT NULL DEFAULT 0,
"isProcessing" INTEGER NOT NULL DEFAULT 0
);
CREATE TABLE IF NOT EXISTS "embedding_providers" (