diff --git a/src/lib/adapters/NextcloudBookmarks.ts b/src/lib/adapters/NextcloudBookmarks.ts index 6a6f1c809c..cfcd18446a 100644 --- a/src/lib/adapters/NextcloudBookmarks.ts +++ b/src/lib/adapters/NextcloudBookmarks.ts @@ -64,7 +64,7 @@ const LOCK_INTERVAL = 2 * 60 * 1000 // Set lock every two minutes while syncing export default class NextcloudBookmarksAdapter implements Adapter, BulkImportResource, LoadFolderChildrenResource, OrderFolderResource, ClickCountResource { private server: NextcloudBookmarksConfig - private fetchQueue: PQueue<{ concurrency: 12 }> + private fetchQueue: PQueue<{ concurrency: 2 }> private bookmarkLock: AsyncLock public hasFeatureBulkImport:boolean = null private list: Bookmark[] @@ -83,7 +83,7 @@ export default class NextcloudBookmarksAdapter implements Adapter, BulkImportRes constructor(server: NextcloudBookmarksConfig) { this.server = server - this.fetchQueue = new PQueue({ concurrency: 12 }) + this.fetchQueue = new PQueue({ concurrency: 2 }) this.bookmarkLock = new AsyncLock() this.abortController = new AbortController() this.abortSignal = this.abortController.signal