From ffc6899acdf2568dc24232eaa8f25f3bdccab0b3 Mon Sep 17 00:00:00 2001 From: "yanlong.wang" Date: Mon, 13 May 2024 18:35:11 +0800 Subject: [PATCH] chore: reduce resource --- backend/functions/src/cloud-functions/crawler.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/functions/src/cloud-functions/crawler.ts b/backend/functions/src/cloud-functions/crawler.ts index 14b738c..611dbeb 100644 --- a/backend/functions/src/cloud-functions/crawler.ts +++ b/backend/functions/src/cloud-functions/crawler.ts @@ -274,9 +274,10 @@ ${this.content} }) @CloudHTTPv2({ runtime: { - memory: '8GiB', + memory: '4GiB', + cpu: 2, timeoutSeconds: 300, - concurrency: 22, + concurrency: 11, maxInstances: 455, }, openapi: {