⚡️⚡️⚡️ 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
remove unnecessary comments
daniel31x13cc02406c5bbd
diff --git a/.env.sample b/.env.sampleindex 63300332..40da8d09 100644--- a/.env.sample+++ b/.env.sample@@ -20,18 +20,7 @@ DISABLE_NEW_SSO_USERS=MAX_LINKS_PER_USER=ARCHIVE_TAKE_COUNT=BROWSER_TIMEOUT=--# Browser lifecycle mode. "persistent" (default) keeps Chromium running at all-# times with a 30-minute restart rotation. "on-demand" launches Chromium only-# when links need processing and shuts it down after an idle period, freeing-# 300-800 MB of RAM on instances with sporadic usage.-# BROWSER_LIFECYCLE=persistent--# How long (ms) to keep the on-demand browser alive after the last processed-# link. Prevents rapid launch/close cycles when saving multiple links in quick-# succession. Only used when BROWSER_LIFECYCLE=on-demand. Default: 60000 (1 min).-# BROWSER_IDLE_TIMEOUT_MS=60000-+BROWSER_LIFECYCLE=IGNORE_URL_SIZE_LIMIT=NEXT_PUBLIC_DEMO=NEXT_PUBLIC_DEMO_USERNAME=diff --git a/apps/worker/workers/linkProcessing.ts b/apps/worker/workers/linkProcessing.tsindex 16a1ac07..fc2f38be 100644--- a/apps/worker/workers/linkProcessing.ts+++ b/apps/worker/workers/linkProcessing.ts@@ -140,6 +140,7 @@ async function linkProcessingOnDemand(interval: number) {while (true) {const links = await getLinkBatchFairly({maxBatchLinks: ARCHIVE_TAKE_COUNT,+ mode: "links",});if (links.length === 0) {