chore: tweak runtime config

This commit is contained in:
Yanlong Wang 2024-04-29 09:49:29 +08:00
parent 6ac2863e89
commit 036f6dc776
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -219,7 +219,7 @@ ${this.content}
name: 'crawl2', name: 'crawl2',
runtime: { runtime: {
memory: '4GiB', memory: '4GiB',
timeoutSeconds: 540, timeoutSeconds: 300,
concurrency: 4, concurrency: 4,
}, },
tags: ['Crawler'], tags: ['Crawler'],
@ -229,10 +229,10 @@ ${this.content}
}) })
@CloudHTTPv2({ @CloudHTTPv2({
runtime: { runtime: {
memory: '8GiB', memory: '4GiB',
timeoutSeconds: 540, timeoutSeconds: 300,
concurrency: 21, concurrency: 16,
maxInstances: 476, maxInstances: 625,
}, },
openapi: { openapi: {
operation: { operation: {