From 1f4a65675564b034f2d9c349424840cac3db03cf Mon Sep 17 00:00:00 2001 From: Sean Sundberg Date: Thu, 26 Oct 2023 11:30:26 -0500 Subject: [PATCH] Reduce find relevant passage concurrent requests to 2 Signed-off-by: Sean Sundberg --- src/services/data-extraction/data-extraction.impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/data-extraction/data-extraction.impl.ts b/src/services/data-extraction/data-extraction.impl.ts index 35e795d..b19ab04 100644 --- a/src/services/data-extraction/data-extraction.impl.ts +++ b/src/services/data-extraction/data-extraction.impl.ts @@ -14,7 +14,7 @@ import {first, GenAiModel, GenerativeResponse} from "../../utils"; import pQueue from '../../utils/p-queue' import PQueue from "../../utils/p-queue"; -const queue = new PQueue({concurrency: 4}); +const queue = new PQueue({concurrency: 2}); export interface DataExtractionBackendConfig { identityUrl: string;