From 665be3d0971b6d2e08b94ebd267c0f4ece0a3bf8 Mon Sep 17 00:00:00 2001 From: Sean Sundberg Date: Thu, 26 Oct 2023 11:38:33 -0500 Subject: [PATCH] Reduce find relevant passage concurrent requests to 2 (#120) 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;