Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

use env interval

Isaacb100129d8058
diff --git a/scripts/worker.ts b/scripts/worker.ts
index 69ba9cad..5a23fd19 100644
--- a/scripts/worker.ts
+++ b/scripts/worker.ts
@@ -273,7 +273,7 @@ async function startRSSPolling() {
}
}
-const aiTaggingIntervalInSeconds = 10;
+const aiTaggingIntervalInSeconds = Number(process.env.AI_TAGGING_SCRIPT_INTERVAL) || 30;
async function startAITagging() {
console.log("\x1b[34m%s\x1b[0m", "Starting AI tagging...");