⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
bump meilisearch timeout and make it configurable
daniel31x1364f8922741dc
diff --git a/apps/web/.env.sample b/.env.samplesimilarity index 99%rename from apps/web/.env.samplerename to .env.sampleindex f882f4a1..655a7439 100644--- a/apps/web/.env.sample+++ b/.env.sample@@ -42,6 +42,7 @@ RSS_SUBSCRIPTION_LIMIT_PER_USER=TEXT_CONTENT_LIMIT=SEARCH_FILTER_LIMIT=INDEX_TAKE_COUNT=+MEILI_TIMEOUT=# AI SettingsNEXT_PUBLIC_OLLAMA_ENDPOINT_URL=diff --git a/apps/worker/worker.ts b/apps/worker/worker.tsindex 15e48901..4f1cfffc 100644--- a/apps/worker/worker.ts+++ b/apps/worker/worker.ts@@ -138,7 +138,7 @@ async function setupLinksIndexSchema() {await meiliClient.index("links").waitForTask(updateFilterableAttributes.taskUid, {- timeOutMs: 1000000,+ timeOutMs: Number(process.env.MEILI_TIMEOUT) || 1000000,}).catch((err) => {console.error("\x1b[34m%s\x1b[0m", `Error indexing links:`, err);@@ -151,7 +151,7 @@ async function setupLinksIndexSchema() {await meiliClient.index("links").waitForTask(updateSortableAttributes.taskUid, {- timeOutMs: 1000000,+ timeOutMs: Number(process.env.MEILI_TIMEOUT) || 1000000,}).catch((err) => {console.error("\x1b[34m%s\x1b[0m", `Error indexing links:`, err);@@ -229,7 +229,7 @@ export async function startIndexing() {await meiliClient.index("links").waitForTask(task.taskUid, {- timeOutMs: 300000,+ timeOutMs: Number(process.env.MEILI_TIMEOUT) || 1000000,}).catch((err) => {console.error("\x1b[34m%s\x1b[0m", `Error indexing links:`, err);