From 18c1d15e84b69112861e1560e9285dba3d95e43d Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sun, 31 Aug 2025 16:51:15 +0000
Subject: fix: Incremental polling interval for ongoing crawls

---
 apps/mobile/components/bookmarks/BookmarkCard.tsx | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'apps/mobile/components/bookmarks/BookmarkCard.tsx')

diff --git a/apps/mobile/components/bookmarks/BookmarkCard.tsx b/apps/mobile/components/bookmarks/BookmarkCard.tsx
index e4c2eee8..62e74e97 100644
--- a/apps/mobile/components/bookmarks/BookmarkCard.tsx
+++ b/apps/mobile/components/bookmarks/BookmarkCard.tsx
@@ -28,7 +28,7 @@ import {
 import { BookmarkTypes } from "@karakeep/shared/types/bookmarks";
 import {
   getBookmarkLinkImageUrl,
-  isBookmarkStillLoading,
+  getBookmarkRefreshInterval,
   isBookmarkStillTagging,
 } from "@karakeep/shared/utils/bookmarkUtils";
 
@@ -432,11 +432,7 @@ export default function BookmarkCard({
         if (!data) {
           return false;
         }
-        // If the link is not crawled or not tagged
-        if (isBookmarkStillLoading(data)) {
-          return 1000;
-        }
-        return false;
+        return getBookmarkRefreshInterval(data);
       },
     },
   );
-- 
cgit v1.2.3-70-g09d2

