nomagick commited on
Commit
036f6dc
·
unverified ·
1 Parent(s): 6ac2863

chore: tweak runtime config

Browse files
backend/functions/src/cloud-functions/crawler.ts CHANGED
@@ -219,7 +219,7 @@ ${this.content}
219
  name: 'crawl2',
220
  runtime: {
221
  memory: '4GiB',
222
- timeoutSeconds: 540,
223
  concurrency: 4,
224
  },
225
  tags: ['Crawler'],
@@ -229,10 +229,10 @@ ${this.content}
229
  })
230
  @CloudHTTPv2({
231
  runtime: {
232
- memory: '8GiB',
233
- timeoutSeconds: 540,
234
- concurrency: 21,
235
- maxInstances: 476,
236
  },
237
  openapi: {
238
  operation: {
 
219
  name: 'crawl2',
220
  runtime: {
221
  memory: '4GiB',
222
+ timeoutSeconds: 300,
223
  concurrency: 4,
224
  },
225
  tags: ['Crawler'],
 
229
  })
230
  @CloudHTTPv2({
231
  runtime: {
232
+ memory: '4GiB',
233
+ timeoutSeconds: 300,
234
+ concurrency: 16,
235
+ maxInstances: 625,
236
  },
237
  openapi: {
238
  operation: {