Closer/functions/dist
null 9b62957052 fix(functions): lower global maxInstances 20→5 to fit the Cloud Run CPU quota
2nd-gen deploy failed with "Quota exceeded for total allowable CPU per project per region":
each function is a Cloud Run service and the regional CPU-allocation quota is charged as the
sum of (maxInstances × vCPU) across all functions. At maxInstances 20 × ~34 v2 functions =
~680 vCPU, over this new project's default (~560). Dropping to 5 → 170 vCPU, well under.

5 instances × ~80 concurrent requests still serves ~400 in flight — fine pre-launch. For
production, request a Cloud Run CPU quota increase and raise this back up.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 02:44:06 -05:00
..
backup refactor(functions): B1 migrate 13 Firestore triggers to v2 + harden 2026-07-07 23:46:17 -05:00
billing refactor(functions): B6d finish logger migration in shared helpers 2026-07-08 00:10:10 -05:00
couples perf(functions): B6b bound the unbounded couple scanners (#10) 2026-07-08 00:05:32 -05:00
dates refactor(functions): B1 migrate 13 Firestore triggers to v2 + harden 2026-07-07 23:46:17 -05:00
games refactor(functions): B6c split game part-finished trigger + reorder reads (#11) 2026-07-08 00:08:18 -05:00
notifications refactor(functions): B6d finish logger migration in shared helpers 2026-07-08 00:10:10 -05:00
questions perf(functions): B6b bound the unbounded couple scanners (#10) 2026-07-08 00:05:32 -05:00
releaseKey refactor(functions): B3 migrate 12 callables to v2 + harden 2026-07-07 23:58:32 -05:00
security refactor(functions): B3 migrate 12 callables to v2 + harden 2026-07-07 23:58:32 -05:00
users refactor(functions): B4+B5 migrate webhook to v2 + pin onUserDelete on v1 2026-07-08 00:00:29 -05:00
index.js build(functions): keep revenueCatWebhook out of the deploy until RevenueCat exists 2026-07-08 02:01:23 -05:00
index.js.map build(functions): keep revenueCatWebhook out of the deploy until RevenueCat exists 2026-07-08 02:01:23 -05:00
log.js build(functions): B0 v2 foundation — global options, shared push helper, structured logging 2026-07-07 23:36:16 -05:00
log.js.map build(functions): B0 v2 foundation — global options, shared push helper, structured logging 2026-07-07 23:36:16 -05:00
options.js fix(functions): lower global maxInstances 20→5 to fit the Cloud Run CPU quota 2026-07-08 02:44:06 -05:00
options.js.map fix(functions): lower global maxInstances 20→5 to fit the Cloud Run CPU quota 2026-07-08 02:44:06 -05:00