From 727fbbb56f330699f212fe6de3cd3a04a374860d Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sat, 3 Aug 2024 10:48:59 +0200 Subject: [PATCH] fix(NextcloudBookmarks): Try to avoid draining Chrome's socket pool Signed-off-by: Marcel Klehr --- src/lib/adapters/NextcloudBookmarks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/adapters/NextcloudBookmarks.ts b/src/lib/adapters/NextcloudBookmarks.ts index 6a6f1c809c..8502d843c6 100644 --- a/src/lib/adapters/NextcloudBookmarks.ts +++ b/src/lib/adapters/NextcloudBookmarks.ts @@ -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