From bda7e76e50c444156c59c068383139081fa9bb8d Mon Sep 17 00:00:00 2001 From: Yanlong Wang Date: Wed, 17 Apr 2024 09:22:26 +0800 Subject: [PATCH] chore: increase max instances to target 10k concurrent requests --- backend/functions/src/cloud-functions/crawler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/functions/src/cloud-functions/crawler.ts b/backend/functions/src/cloud-functions/crawler.ts index 75561fd..6836043 100644 --- a/backend/functions/src/cloud-functions/crawler.ts +++ b/backend/functions/src/cloud-functions/crawler.ts @@ -153,6 +153,7 @@ ${this.content} memory: '8GiB', timeoutSeconds: 540, concurrency: 16, + maxInstances: 625, }, httpMethod: ['get', 'post'], returnType: [String, OutputServerEventStream],